summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorsiretart <siretart@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-04-23 08:46:05 +0000
committersiretart <siretart@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-04-23 08:46:05 +0000
commite3f02a93cc764b93382e7fbcfa3c3eaa94181de3 (patch)
tree10a2237d5128e6d5f4b50280a73fcd0acb73d715 /TOOLS
parent23f4613d63d358301e6f680af36c83e318a4360a (diff)
downloadmpv-e3f02a93cc764b93382e7fbcfa3c3eaa94181de3.tar.bz2
mpv-e3f02a93cc764b93382e7fbcfa3c3eaa94181de3.tar.xz
Part 3 of syncing binary_codecs.sh with Debian
This patch contains no functional changes again, only whitespace fixes that has been misse from Part 1 have been included. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29223 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS')
-rwxr-xr-xTOOLS/binary_codecs.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/TOOLS/binary_codecs.sh b/TOOLS/binary_codecs.sh
index 2ba35e4edd..7fb4f29680 100755
--- a/TOOLS/binary_codecs.sh
+++ b/TOOLS/binary_codecs.sh
@@ -26,14 +26,14 @@ choosemirror ()
cd $PREFDIR
#if [ ! -r mirrors ] || find mirrors -mtime +20 ; then
- echo Downloading mirrors list..
+ echo Downloading mirrors list
wget -nv -c -N $MYSITE/mirrors || true
#fi
if [ ! -r bestsites ] || [ mirrors -nt bestsites ] || \
find bestsites -mtime +20 > /dev/null ; then
- if which netselect > /dev/null ; then
- echo Choosing best mirrors using netselect....
- netselect -s 5 $( cat mirrors ) | awk '{print $2}' > bestsites
+ if which netselect > /dev/null ; then
+ echo Choosing best mirrors using netselect
+ netselect -s 5 $( cat mirrors ) | awk '{print $2}' > bestsites
elif which fping > /dev/null ; then
fping -C 1 $( sed 's#.*//##;s#/.*##' mirrors ) 2>&1 | \
egrep -v 'bytes.*loss' | sort -n -k3 | \
@@ -147,8 +147,8 @@ case "$1" in
fi
choosemirror
cd $PREFDIR
- #if [ ! -r codecs_list ] || find codecs_list -mtime +20 ; then
- echo 'Getting codecs list ...'
+ #if [ ! -r codecs_list ] || find codecs_list -mtime +20 ; then
+ echo 'Getting codecs list'
wget -nv -c -N $MYSITE/codecs_list || true
#fi
@@ -156,7 +156,7 @@ case "$1" in
egrep -v "^[[:space:]]*(#|$)" $PREFDIR/codecs_list | \
while read arch url dir file info ; do
if [ "$dpkgarch" = "$arch" ]; then
- echo Installing $file $info...
+ echo Downloading and installing $file $info...
INSTALL "$url" "$dir" "$file"
n=1
fi