mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Minor cleanup
This commit is contained in:
parent
61ac7ad809
commit
835ce6bce5
1 changed files with 1 additions and 2 deletions
3
quickemu
3
quickemu
|
@ -49,8 +49,7 @@ function disk_delete() {
|
||||||
else
|
else
|
||||||
echo "NOTE! ${disk_img} not found. Doing nothing."
|
echo "NOTE! ${disk_img} not found. Doing nothing."
|
||||||
fi
|
fi
|
||||||
local VMNAME=""
|
|
||||||
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 "${SHORTCUT_DIR}/${VMNAME}.desktop"
|
rm "${SHORTCUT_DIR}/${VMNAME}.desktop"
|
||||||
|
|
Loading…
Reference in a new issue