Uninstall appmenus only if present in VM dir (#192)
This commit is contained in:
parent
449bcb09ac
commit
c2498a33e2
@ -8,5 +8,7 @@ if [ $# != 1 ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
xdg-desktop-menu uninstall $APPSDIR/*.directory $APPSDIR/*.desktop
|
||||
if ls $APPSDIR/*.directory $APPSDIR/*.desktop > /dev/null 2>&1; then
|
||||
xdg-desktop-menu uninstall $APPSDIR/*.directory $APPSDIR/*.desktop
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user