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
4
quickemu
4
quickemu
|
@ -12,7 +12,7 @@ function disk_delete() {
|
|||
VMNAME=$(basename "${VM}" .conf)
|
||||
local SHORTCUT_DIR="${HOME}/.local/share/applications/"
|
||||
if [ -e "${SHORTCUT_DIR}/${VMNAME}.desktop" ]; then
|
||||
rm -v "${SHORTCUT_DIR}/${VMNAME}.desktop"
|
||||
rm "${SHORTCUT_DIR}/${VMNAME}.desktop"
|
||||
echo "Deleted ${VM} desktop shortcut"
|
||||
fi
|
||||
}
|
||||
|
@ -696,7 +696,7 @@ function vm_boot() {
|
|||
SHELL_ARGS="${SHELL_ARGS//(/\\(}"
|
||||
SHELL_ARGS="${SHELL_ARGS//)/\\)}"
|
||||
SHELL_ARGS="${SHELL_ARGS//Wimpys World/\"Wimpys World\"}"
|
||||
|
||||
|
||||
echo "#!/usr/bin/env bash" > "${VMDIR}/${VMNAME}.sh"
|
||||
echo "${QEMU}" "${SHELL_ARGS}" >> "${VMDIR}/${VMNAME}.sh"
|
||||
|
||||
|
|
Loading…
Reference in a new issue