Better handling of appimage
This commit is contained in:
parent
d743761b18
commit
6bff284f6f
@ -356,6 +356,7 @@ source_installer() {
|
|||||||
eval nvim.appimage --appimage-extract
|
eval nvim.appimage --appimage-extract
|
||||||
if sudo -v >/dev/null 2>&1; then
|
if sudo -v >/dev/null 2>&1; then
|
||||||
rsync -a "squashfs-root/usr" "/usr"
|
rsync -a "squashfs-root/usr" "/usr"
|
||||||
|
rm -rf "squashfs-root"
|
||||||
else
|
else
|
||||||
log "info" "Unable to add neovim to path from $(important "${squashfs-root}"), did not have sudo permissions"
|
log "info" "Unable to add neovim to path from $(important "${squashfs-root}"), did not have sudo permissions"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user