[Libreoffice-commits] core.git: setup_native/scripts
Christian Lohmaier
lohmaier+LibreOffice at googlemail.com
Tue Mar 31 08:08:58 PDT 2015
setup_native/scripts/osx_install_languagepack.applescript | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit b89681bef2e492bccb9502079e042ff495b40c39
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date: Tue Mar 31 16:58:50 2015 +0200
tdf#90298 rescan for bundled extensions when installing Mac langpack
LO only scans for new extensions when the folder's timestamp is newer
than a timestamp file in the user's profile. When installing a
languagepack, the folder is set to the build-time of the package. touch
the dir to set it to install time and thus allow LO to pick up newly
installed dictionaries and thesaurus/hyphenation data.
Change-Id: I888f830d2325774cd98e3624c19d2be19d4d6db2
diff --git a/setup_native/scripts/osx_install_languagepack.applescript b/setup_native/scripts/osx_install_languagepack.applescript
index 735f141..cbd7743 100644
--- a/setup_native/scripts/osx_install_languagepack.applescript
+++ b/setup_native/scripts/osx_install_languagepack.applescript
@@ -140,7 +140,8 @@ if (button returned of result) is AbortLabel then
end if
*)
-set tarCommand to "/usr/bin/tar -C " & quoted form of (choice as string) & " -xjf " & quoted form of sourcedir & "/tarball.tar.bz2"
+-- touch extensions folder to have LO register bundled dictionaries
+set tarCommand to "/usr/bin/tar -C " & quoted form of (choice as string) & " -xjf " & quoted form of sourcedir & "/tarball.tar.bz2 && touch " & quoted form of (choice as string) & "/Contents/Resources/extensions"
try
do shell script tarCommand
More information about the Libreoffice-commits
mailing list