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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pbibuild/modules/k3b/build.sh

    r862 r1005  
    1414mv /tmp/removepbi.sh ${PBIDIR}/scripts/removepbi.sh 
    1515chmod 755 ${PBIDIR}/scripts/removepbi.sh 
     16 
     17 
     18# Get all the various language files and copy them to the PBI 
     19LANGFILE="k3b.mo" 
     20LANGFILE1="k3bsetup.mo" 
     21LANGFILE2="libk3b.mo" 
     22LANGFILE3="libk3bdevice.mo" 
     23mkdir ${PBIDIR}/locale/ 
     24cd /usr/local/share/locale 
     25for i in `ls` 
     26do 
     27  if [ -e "/usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE}" ] 
     28  then 
     29    mkdir ${PBIDIR}/locale/${i} 
     30    cp /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE} ${PBIDIR}/locale/${i}/ 
     31    cp /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE1} ${PBIDIR}/locale/${i}/ 
     32    cp /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE2} ${PBIDIR}/locale/${i}/ 
     33    cp /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE3} ${PBIDIR}/locale/${i}/ 
     34  fi 
     35done