Check-in [5c8ab364b5]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

SHA1 Hash:5c8ab364b5c5eff6f8e1b599daab23f595ec8086
Date: 2012-10-10 22:52:43
User: BarryK
Comment:L18L: call hacks script in pinstall.sh in langpack. refer blog bkhome.org/blog/?viewDetailed=03007

Tags And Properties
Changes

Changes to woof-code/rootfs-skeleton/usr/share/doc/langpack-template/pinstall.sh

@@ -5,10 +5,11 @@
 #120315 maybe have hunspell dictionaries in langpack.
 #120830 improved symlinks to hunspell dictionaries.
 #120924 DejaVu font no good for non-Latin languages. 120925 add korean.
 #120926 translate Comment field in .desktop file. note: applications.in now handled in /usr/local/petget/installpkg.sh.
 #120927 L18L requested if there is already a translation in .desktop, remove it, replace with one from langpack.
+#121011 L18L requested call to extra hacks script.
 
 echo "Post install script for TARGETLANG language pack"
 
 #if [ "$LANG" = "C" ];then #in case caller script did this.
  LANG="`grep '^LANG=' /etc/profile | cut -f 2 -d '=' | cut -f 1 -d ' '`"
@@ -121,8 +122,9 @@
  if [ "$LANG1" != "en" ];then
   #need to update SSS translations...
   fixscripts
   fixdesk
   fixmenus
+  [ -r /pinstall_hacks.sh ] && . /pinstall_hacks.sh #121011 L18L
   pupdialog --background green --backtitle "Language Pack" --msgbox "POSTINSTALLMSG" 0 0 &
  fi
 fi