[Libreoffice-commits] core.git: desktop/scripts
Björgvin Ragnarsson
nifgraup at gmail.com
Tue Aug 20 08:09:41 PDT 2013
desktop/scripts/unopkg.sh | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit d2ed00f711d71cd2efe87e19dadfb0b413a7b5fe
Author: Björgvin Ragnarsson <nifgraup at gmail.com>
Date: Tue Aug 20 00:33:37 2013 +0000
unopkg: use default umask when installing shared extensions
This makes sure shared extensions are readable by users when root's umask has been
set to a value such as 0027.
Change-Id: If495afae8eaf3a640c99ecb7598b79b59363c12c
Reviewed-on: https://gerrit.libreoffice.org/5521
Reviewed-by: Petr Mladek <pmladek at suse.cz>
Tested-by: Petr Mladek <pmladek at suse.cz>
diff --git a/desktop/scripts/unopkg.sh b/desktop/scripts/unopkg.sh
index d0bb430..295f874 100644
--- a/desktop/scripts/unopkg.sh
+++ b/desktop/scripts/unopkg.sh
@@ -61,9 +61,13 @@ do
-env:*) BOOTSTRAPVARS=$BOOTSTRAPVARS" ""$arg";;
-v) VERBOSE=true;;
--verbose) VERBOSE=true;;
+ --shared) SHARED=true;;
esac
done
+#make sure shared extensions will be readable by all users
+[ $SHARED = true ] && umask 0022
+
# extend the ld_library_path for java: javaldx checks the sofficerc for us
if [ -x "$sd_prog/../ure-link/bin/javaldx" ] ; then
my_path=`"$sd_prog/../ure-link/bin/javaldx" $BOOTSTRAPVARS \
More information about the Libreoffice-commits
mailing list