mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-09-20 00:02:03 +02:00
Minor cleanup
This commit is contained in:
parent
61ac7ad809
commit
835ce6bce5
3
quickemu
3
quickemu
|
@ -49,8 +49,7 @@ function disk_delete() {
|
|||
else
|
||||
echo "NOTE! ${disk_img} not found. Doing nothing."
|
||||
fi
|
||||
local VMNAME=""
|
||||
VMNAME=$(basename "${VM}" .conf)
|
||||
|
||||
local SHORTCUT_DIR="${HOME}/.local/share/applications/"
|
||||
if [ -e "${SHORTCUT_DIR}/${VMNAME}.desktop" ]; then
|
||||
rm "${SHORTCUT_DIR}/${VMNAME}.desktop"
|
||||
|
|
Loading…
Reference in New Issue
Block a user