mirror of https://github.com/mpv-player/mpv
Remove download script; no longer used in the official Debian package candidate.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20155 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ed967a434b
commit
b75c335056
10
TOOLS/README
10
TOOLS/README
|
@ -523,16 +523,6 @@ Note: You will need the libwww-perl stuff and the cabextract utility
|
|||
which can be found at http://www.kyz.uklinux.net/cabextract.php3.
|
||||
|
||||
|
||||
install-divx5.sh
|
||||
|
||||
Author: Andrea Menucci, thuglife
|
||||
|
||||
Description: Downloads and installs DivX 5 codecs from divx.com.
|
||||
|
||||
Usage: install-divx5.sh install
|
||||
install-divx5.sh uninstall
|
||||
|
||||
|
||||
install-w32codecs.sh
|
||||
|
||||
Author: Andrea Menucci, thuglife
|
||||
|
|
|
@ -1,50 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Author: thuglife, mennucc1
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
site=http://download.divx.com/divx/
|
||||
packagename=divx4linux501-20020418
|
||||
filename=$packagename.tgz
|
||||
|
||||
if [ `whoami` != root ]; then
|
||||
echo "You must be a root to start this script. Login As root first!"
|
||||
exit 1
|
||||
else
|
||||
|
||||
|
||||
case "$1" in
|
||||
install)
|
||||
mkdir /var/tmp/mplayer$$
|
||||
cd /var/tmp/mplayer$$
|
||||
wget $site/$filename
|
||||
tar xzf $filename
|
||||
cd $packagename/
|
||||
sh install.sh
|
||||
cd ..
|
||||
rm -rf $filename
|
||||
rm -rf $packagename/
|
||||
echo "Installed Succesfully!"
|
||||
rmdir /var/tmp/mplayer$$
|
||||
;;
|
||||
|
||||
uninstall)
|
||||
rm -rf /usr/local/lib/libdivx{encore,decore}.so{,.0}
|
||||
echo "Uninstalled Succesfully!"
|
||||
|
||||
;;
|
||||
*)
|
||||
echo "Usage: {install|uninstall}"
|
||||
exit 1
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
|
||||
exit 0
|
||||
|
||||
fi
|
||||
|
Loading…
Reference in New Issue