summaryrefslogtreecommitdiff
path: root/sysui/desktop/solaris
diff options
context:
space:
mode:
authorYeliz Tanero─člu <yeliztaneroglu@gmail.com>2017-05-10 14:42:04 +0300
committerMichael Stahl <mstahl@redhat.com>2017-05-11 11:46:18 +0200
commite6f2952fc359eaf25d4b4dae52a0a380e7a95463 (patch)
tree47ab9d801f8e6b1f753cacb41ee2bce3ffe0aa8b /sysui/desktop/solaris
parent4345cdb85a19fd311244d9cdaa45d82f45309c80 (diff)
tdf#105204 fix shellcheck warnings in sysui/desktop/solaris
double quote to prevent word splitting Change-Id: Ice4380cc390487277a359b8db3f2fae3603b7747 Reviewed-on: https://gerrit.libreoffice.org/37466 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sysui/desktop/solaris')
-rwxr-xr-xsysui/desktop/solaris/postinstall2
-rwxr-xr-xsysui/desktop/solaris/postremove2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysui/desktop/solaris/postinstall b/sysui/desktop/solaris/postinstall
index 5bb7b94cd62f..594db276bf43 100755
--- a/sysui/desktop/solaris/postinstall
+++ b/sysui/desktop/solaris/postinstall
@@ -27,7 +27,7 @@ rm -f "$tiptoe"
# update shared mime database
if [ -x /usr/bin/update-mime-database ]; then
- update-mime-database ${PKG_INSTALL_ROOT}/usr/share/mime
+ update-mime-database "${PKG_INSTALL_ROOT}"/usr/share/mime
fi
if [ -x /usr/bin/update-desktop-database ]; then
diff --git a/sysui/desktop/solaris/postremove b/sysui/desktop/solaris/postremove
index 9edd634dfa35..7db44e0617c5 100755
--- a/sysui/desktop/solaris/postremove
+++ b/sysui/desktop/solaris/postremove
@@ -27,7 +27,7 @@ rm -f "$tiptoe"
# update shared mime database
if [ -x /usr/bin/update-mime-database ]; then
- update-mime-database ${PKG_INSTALL_ROOT}/usr/share/mime
+ update-mime-database "${PKG_INSTALL_ROOT}"/usr/share/mime
fi
exit 0