wok diff get-LibreOffice/stuff/get-LibreOffice @ rev 8692

Switch back to mercurial, home sweet home :)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Feb 17 19:06:05 2011 +0100 (2011-02-17)
parents 50289f6c8ce3
children 094990fe3941
line diff
     1.1 --- a/get-LibreOffice/stuff/get-LibreOffice	Mon Dec 27 00:48:31 2010 +0000
     1.2 +++ b/get-LibreOffice/stuff/get-LibreOffice	Thu Feb 17 19:06:05 2011 +0100
     1.3 @@ -9,7 +9,7 @@
     1.4  PACKAGE="LibreOffice"
     1.5  URL="http://www.libreoffice.org"
     1.6  ROOT="$1"
     1.7 -DIR="testing"
     1.8 +DIR="stable"
     1.9  SUFFIX="Linux_x86_install-rpm_en-US.tar.gz"
    1.10  
    1.11  VERSION="$(basename $(wget -O - http://download.documentfoundation.org/libreoffice/$DIR/ \
    1.12 @@ -118,7 +118,7 @@
    1.13  	exit 1
    1.14  fi
    1.15  
    1.16 -echo -n "Extracting files "
    1.17 +echo -n "Extracting files (this may take a while): "
    1.18  
    1.19  # Creates TEMP_DIR and extract tarball
    1.20  mkdir -p $TEMP_DIR
    1.21 @@ -128,14 +128,16 @@
    1.22  done
    1.23  # Consolidate localisations into main package
    1.24  if [ -n $L_TARBALL ] ; then # Are we localised?
    1.25 -  mv -f $TEMP_DIR/${L_TARBALL/.tar.gz/}/RPMS/*.rpm $TEMP_DIR/${TARBALL/.tar.gz/}/RPMS/
    1.26 +#  mv -f $TEMP_DIR/${L_TARBALL/.tar.gz/}/RPMS/*.rpm $TEMP_DIR/${TARBALL/.tar.gz/}/RPMS/
    1.27 +  mv -f $TEMP_DIR/LibO_3.3.0rc4_Linux_x86_langpack-rpm_en-GB/RPMS/*.rpm $TEMP_DIR/LibO_3.3.0rc4_Linux_x86_install-rpm_en-US/RPMS/
    1.28  fi
    1.29  status
    1.30  
    1.31  # Extracted pkg can be removed: Save RAM
    1.32  rm -rf $SOURCE_DIR
    1.33  
    1.34 -cd $TEMP_DIR/${TARBALL/.tar.gz/}/RPMS
    1.35 +# cd $TEMP_DIR/${TARBALL/.tar.gz/}/RPMS
    1.36 +cd $TEMP_DIR/LibO_3.3.0rc4_Linux_x86_install-rpm_en-US/RPMS
    1.37  
    1.38  # Extract everything from RPMS
    1.39  for i in *.rpm