|
|
@ -1023,8 +1023,8 @@ function shortcut_create { |
|
|
|
local dirname="${HOME}/.local/share/applications" |
|
|
|
local dirname="${HOME}/.local/share/applications" |
|
|
|
local filename="${HOME}/.local/share/applications/${VMNAME}.desktop" |
|
|
|
local filename="${HOME}/.local/share/applications/${VMNAME}.desktop" |
|
|
|
|
|
|
|
|
|
|
|
if [ ! -d ${dirname} ]; then |
|
|
|
if [ ! -d "${dirname}" ]; then |
|
|
|
mkdir -p ${dirname} |
|
|
|
mkdir -p "${dirname}" |
|
|
|
fi |
|
|
|
fi |
|
|
|
cat << EOF > "${filename}" |
|
|
|
cat << EOF > "${filename}" |
|
|
|
[Desktop Entry] |
|
|
|
[Desktop Entry] |
|
|
|