summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNick Fox <nick@foxsec.net>2017-11-19 15:57:31 -0500
committerNick Fox <nick@foxsec.net>2017-11-19 15:57:31 -0500
commit9c53cec0d232d36ff56b91cd90b3837a0015b615 (patch)
treea87871f597aa5b9e6c1e3518e17ac16f4cffb4ae /scripts
parent661581594a014ceadc6284ef8c907162ef17380e (diff)
Add missing quotes to fix issue with broken .desktop file
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/linux-setup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/linux-setup.sh b/scripts/linux-setup.sh
index 8bf15ddd..0b23bbb0 100755
--- a/scripts/linux-setup.sh
+++ b/scripts/linux-setup.sh
@@ -83,11 +83,11 @@ Comment=${APPCOMMENT}
EOF
if [ "${ROOT}" == "root" ]
then
- echo ${DESKTOP} | $SUDO tee ${DESKTOPFILE} >/dev/null
+ echo "${DESKTOP}" | $SUDO tee ${DESKTOPFILE} >/dev/null
$SUDO chmod +x ${DESKTOPFILE}
$SUDO update-desktop-database ${SHARE}/applications
else
- echo ${DESKTOP} > ${HOME}/Desktop/${APP}.desktop
+ echo "${DESKTOP}" > ${HOME}/Desktop/${APP}.desktop
fi
}