From 835ce6bce5d7ea892d43f71116fb78a576ab80af Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Mon, 25 Oct 2021 15:42:33 +0100 Subject: [PATCH] Minor cleanup --- quickemu | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/quickemu b/quickemu index 6763f43..c754a35 100755 --- a/quickemu +++ b/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"