wok diff get-skype/stuff/get-skype @ rev 654

openbox: start parcellite by default if installed
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 22 22:29:22 2008 +0200 (2008-04-22)
parents e64526022ed7
children 49490d76a557
line diff
     1.1 --- a/get-skype/stuff/get-skype	Fri Mar 14 16:38:09 2008 +0000
     1.2 +++ b/get-skype/stuff/get-skype	Tue Apr 22 22:29:22 2008 +0200
     1.3 @@ -6,6 +6,12 @@
     1.4  	exit 0
     1.5  fi
     1.6  
     1.7 +if [ -d /var/lib/tazpkg/installed/skype ]; then
     1.8 +  tazpkg remove skype
     1.9 +  [ -d /var/lib/tazpkg/installed/skype ] && exit 1
    1.10 +fi
    1.11 +[ -d /usr/share/skype ] && rm -rf /usr/share/skype
    1.12 +
    1.13  # Download tarball
    1.14  WEB_SITE="http://www.skype.com/"
    1.15  wget ${WEB_SITE}go/getskype-linux-static
    1.16 @@ -20,15 +26,15 @@
    1.17  
    1.18  # Install files
    1.19  mkdir -p /usr/share/skype
    1.20 -mv */ LICENSE /usr/share/skype
    1.21 +mv */ LICENSE README /usr/share/skype
    1.22  mv skype /usr/bin
    1.23  mv skype.conf /etc
    1.24  mv skype.desktop /usr/share/applications
    1.25  ln /usr/share/skype/icons/*16.png /usr/share/pixmaps/skype.png
    1.26  
    1.27  # Create pseudo package
    1.28 -mkdir -p fs/usr/share/skype
    1.29 -mv README fs/usr/share/skype
    1.30 +mkdir -p fs/usr/bin
    1.31 +cp /usr/bin/get-skype fs/usr/bin
    1.32  find fs | cpio -o -H newc | gzip -9 > fs.cpio.gz
    1.33  cat > files.list <<EOT
    1.34  /usr/bin/skype
    1.35 @@ -36,7 +42,6 @@
    1.36  /usr/share/applications/skype.desktop
    1.37  /usr/share/pixmaps/skype.png
    1.38  $(find /usr/share/skype)
    1.39 -/usr/share/skype/README
    1.40  EOT
    1.41  cat > receipt <<EOT
    1.42  PACKAGE="skype"