Better handling of appimage

This commit is contained in:
Price Hiller 2022-01-09 01:16:16 -06:00
parent d743761b18
commit 6bff284f6f

View File

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