2010-04-05 20:58:57 +02:00
|
|
|
#!/bin/sh
|
|
|
|
VMNAME=$1
|
|
|
|
VMDIR=/var/lib/qubes/appvms/$VMNAME
|
|
|
|
APPSDIR=$VMDIR/apps
|
|
|
|
|
|
|
|
if [ $# != 1 ]; then
|
|
|
|
echo "usage: $0 <vmname>"
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
2011-04-05 11:58:21 +02:00
|
|
|
if ls $APPSDIR/*.directory $APPSDIR/*.desktop > /dev/null 2>&1; then
|
|
|
|
xdg-desktop-menu uninstall $APPSDIR/*.directory $APPSDIR/*.desktop
|
|
|
|
fi
|
2010-04-05 20:58:57 +02:00
|
|
|
|