[Libreoffice-commits] core.git: sysui/desktop

Yeliz Taneroğlu yeliztaneroglu at gmail.com
Thu May 11 09:46:57 UTC 2017


 sysui/desktop/solaris/postinstall |    2 +-
 sysui/desktop/solaris/postremove  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e6f2952fc359eaf25d4b4dae52a0a380e7a95463
Author: Yeliz Taneroğlu <yeliztaneroglu at gmail.com>
Date:   Wed May 10 14:42:04 2017 +0300

    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 at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

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


More information about the Libreoffice-commits mailing list