wok diff get-realplayer/stuff/get-realplayer @ rev 2886

pekwm: add custom keys, start and improve menu
author Rohit Joshi <jozee@slitaz.org>
date Mon May 04 12:27:31 2009 +0000 (2009-05-04)
parents 3feafc902776
children 32959e7975fc
line diff
     1.1 --- a/get-realplayer/stuff/get-realplayer	Sun Nov 16 13:21:20 2008 +0000
     1.2 +++ b/get-realplayer/stuff/get-realplayer	Mon May 04 12:27:31 2009 +0000
     1.3 @@ -8,6 +8,7 @@
     1.4  URL="http://www.real.com/realcom/R?href=http://forms.real.com/real/player/download.html?f=unix/$TARBALL"
     1.5  CUR_DIR=$(pwd)
     1.6  TEMP_DIR=/tmp/$PACKAGE-$VERSION-$$
     1.7 +ROOT="$1"
     1.8  
     1.9  # Check if we are root
    1.10  if test $(id -u) != 0 ; then
    1.11 @@ -17,7 +18,7 @@
    1.12  fi
    1.13  
    1.14  # Avoid reinstall
    1.15 -if [ -d /var/lib/tazpkg/installed/$PACKAGE ]; then
    1.16 +if [ -d $ROOT/var/lib/tazpkg/installed/$PACKAGE ]; then
    1.17  	echo -e "\n$PACKAGE package is already installed.\n"
    1.18  	exit 1
    1.19  fi
    1.20 @@ -72,7 +73,7 @@
    1.21  tazpkg pack $PACKAGE-$VERSION
    1.22  
    1.23  # Install pseudo package
    1.24 -yes y | tazpkg install $PACKAGE-$VERSION.tazpkg
    1.25 +yes y | tazpkg install $PACKAGE-$VERSION.tazpkg --root=$ROOT
    1.26  
    1.27  # Clean
    1.28  cd $CUR_DIR