#!/bin/sh VMNAME=$1 VMDIR=/var/lib/qubes/appvms/$VMNAME APPSDIR=$VMDIR/apps if [ $# != 1 ]; then echo "usage: $0 " exit fi if ls $APPSDIR/*.directory $APPSDIR/*.desktop > /dev/null 2>&1; then xdg-desktop-menu uninstall $APPSDIR/*.directory $APPSDIR/*.desktop fi