[MPlayer-cvslog] CVS: main/TOOLS install-divx5.sh,1.1,1.2

Alex Beregszaszi syncmail at mplayerhq.hu
Sun Nov 27 15:03:17 CET 2005


CVS change done by Alex Beregszaszi

Update of /cvsroot/mplayer/main/TOOLS
In directory mail:/var2/tmp/cvs-serv9444

Modified Files:
	install-divx5.sh 
Log Message:
some comments and simplification

Index: install-divx5.sh
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/install-divx5.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- install-divx5.sh	29 May 2005 13:46:57 -0000	1.1
+++ install-divx5.sh	27 Nov 2005 14:03:14 -0000	1.2
@@ -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$$	
 	;;




More information about the MPlayer-cvslog mailing list