Show
Ignore:
Timestamp:
12/12/07 11:17:51 (12 months ago)
Author:
kris
Message:

Fixed up the K3b module to include the k3b-i18n package, and copy these
language files into the PBI

Location:
pbibuild/modules/k3b/overlay-dir
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pbibuild/modules/k3b/overlay-dir/PBI.RemoveScript.sh

    r862 r1005  
    2727done 
    2828 
     29# Remove the old locale files since we are uninstalling 
     30LANGFILE="k3b.mo" 
     31LANGFILE1="k3bsetup.mo" 
     32LANGFILE2="libk3b.mo" 
     33LANGFILE3="libk3bdevice.mo" 
     34cd /Programs/${PROGDIR}/locale 
     35for i in `ls` 
     36do 
     37  rm /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE} 
     38  rm /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE1} 
     39  rm /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE2} 
     40  rm /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE3} 
     41done 
     42 
    2943cd /home 
    3044for i in `ls`  
  • pbibuild/modules/k3b/overlay-dir/PBI.SetupScript.sh

    r892 r1005  
    3636done 
    3737 
     38# Copy over all the LANG files 
     39LANGFILE="k3b.mo" 
     40LANGFILE1="k3bsetup.mo" 
     41LANGFILE2="libk3b.mo" 
     42LANGFILE3="libk3bdevice.mo" 
     43cd /Programs/${PROGDIR}/locale 
     44for i in `ls` 
     45do 
     46  mkdir -p /usr/local/share/locale/${i}/LC_MESSAGES >/dev/null 2>/dev/null 
     47  cp /Programs/${PROGDIR}/locale/${i}/${LANGFILE} /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE} 
     48  cp /Programs/${PROGDIR}/locale/${i}/${LANGFILE1} /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE1} 
     49  cp /Programs/${PROGDIR}/locale/${i}/${LANGFILE2} /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE2} 
     50  cp /Programs/${PROGDIR}/locale/${i}/${LANGFILE3} /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE3} 
     51done 
     52 
     53 
    3854echo "LAUNCHCLOSE: /usr/local/bin/k3b"