diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2015-03-31 16:58:50 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-03-31 18:06:13 +0000 |
commit | c8bf06bc5d5d8621c86b5f7a8a0cdda1cacb03b3 (patch) | |
tree | 71290911b8f3882ea79f6bf0c9440a739d466389 | |
parent | 0207796fe509e8d00a7101d4da8f8301cb58a099 (diff) |
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
(cherry picked from commit b89681bef2e492bccb9502079e042ff495b40c39)
Reviewed-on: https://gerrit.libreoffice.org/15094
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
-rw-r--r-- | setup_native/scripts/osx_install_languagepack.applescript | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/setup_native/scripts/osx_install_languagepack.applescript b/setup_native/scripts/osx_install_languagepack.applescript index 735f141b4087..cbd7743b242f 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 |