dom0/appmenus: remove menu file left by xdg-desktop-menu (#529)

This commit is contained in:
Marek Marczykowski 2012-04-18 10:11:45 +02:00
parent 3f06aca119
commit 4214572344

View File

@ -15,6 +15,7 @@ fi
if ls $APPSDIR/*.directory $APPSDIR/*.desktop > /dev/null 2>&1; then
xdg-desktop-menu uninstall $APPSDIR/*.directory $APPSDIR/*.desktop
rm -f $APPSDIR/*.desktop $APPSDIR/*.directory
rm -f $HOME/.config/menus/applications-merged/user-$VMNAME-vm.menu
fi
if [ -n "$KDE_SESSION_UID" ]; then