Mercurial > mplayer.hg
changeset 17053:45477f25175e
some comments and simplification
author | alex |
---|---|
date | Sun, 27 Nov 2005 14:03:14 +0000 |
parents | 97bc66fb29dd |
children | 6ae6b30282da |
files | TOOLS/install-divx5.sh |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/TOOLS/install-divx5.sh Sun Nov 27 04:54:47 2005 +0000 +++ b/TOOLS/install-divx5.sh Sun Nov 27 14:03:14 2005 +0000 @@ -6,7 +6,8 @@ set -e site=http://download.divx.com/divx/ -filename=divx4linux501-20020418.tgz +packagename=divx4linux501-20020418 +filename=$packagename.tgz if [ `whoami` != root ]; then echo "You must be a root to start this script. Login As root first!" @@ -20,11 +21,11 @@ cd /var/tmp/mplayer$$ wget $site/$filename tar xzf $filename - cd divx4linux-20020418/ + cd $packagename/ sh install.sh cd .. rm -rf $filename - rm -rf divx4linux-20020418/ + rm -rf $packagename/ echo "Installed Succesfully!" rmdir /var/tmp/mplayer$$ ;;