Correct perms for rsync

This commit is contained in:
Price Hiller 2022-01-09 01:23:24 -06:00
parent 15660a16ef
commit a98c70e51a

View File

@ -356,11 +356,11 @@ source_installer() {
./nvim.appimage --appimage-extract
if sudo -v >/dev/null 2>&1; then
cd "squashfs-root"
rsync -a "usr" "/usr"
sudo rsync -a "usr" "/usr"
cd ..
rm -rf "squashfs-root"
else
log "info" "Unable to add neovim to path from $(important "${squashfs-root}"), did not have sudo permissions"
log "warning" "Unable to add neovim to path from $(important "${squashfs-root}"), did not have sudo permissions"
fi
fi