mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Minor clean up
This commit is contained in:
parent
bc0ce93b82
commit
50ce992c1d
1 changed files with 2 additions and 2 deletions
2
quickemu
2
quickemu
|
@ -12,7 +12,7 @@ function disk_delete() {
|
||||||
VMNAME=$(basename "${VM}" .conf)
|
VMNAME=$(basename "${VM}" .conf)
|
||||||
local SHORTCUT_DIR="${HOME}/.local/share/applications/"
|
local SHORTCUT_DIR="${HOME}/.local/share/applications/"
|
||||||
if [ -e "${SHORTCUT_DIR}/${VMNAME}.desktop" ]; then
|
if [ -e "${SHORTCUT_DIR}/${VMNAME}.desktop" ]; then
|
||||||
rm -v "${SHORTCUT_DIR}/${VMNAME}.desktop"
|
rm "${SHORTCUT_DIR}/${VMNAME}.desktop"
|
||||||
echo "Deleted ${VM} desktop shortcut"
|
echo "Deleted ${VM} desktop shortcut"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue