Hello community, here is the log from the commit of package fetchmsttfonts for openSUSE:Factory checked in at 2014-11-18 22:47:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fetchmsttfonts (Old) and /work/SRC/openSUSE:Factory/.fetchmsttfonts.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fetchmsttfonts" Changes: -------- --- /work/SRC/openSUSE:Factory/fetchmsttfonts/fetchmsttfonts.changes 2012-09-20 15:30:49.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.fetchmsttfonts.new/fetchmsttfonts.changes 2014-11-18 22:49:00.000000000 +0100 @@ -1,0 +2,5 @@ +Sat Nov 15 05:36:00 UTC 2014 - Led <[email protected]> + +- fix bashisms in fetchmsttfonts.sh script + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fetchmsttfonts.spec ++++++ --- /var/tmp/diff_new_pack.ftZyUe/_old 2014-11-18 22:49:01.000000000 +0100 +++ /var/tmp/diff_new_pack.ftZyUe/_new 2014-11-18 22:49:01.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package fetchmsttfonts # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++++++ fetchmsttfonts.sh.in ++++++ --- /var/tmp/diff_new_pack.ftZyUe/_old 2014-11-18 22:49:01.000000000 +0100 +++ /var/tmp/diff_new_pack.ftZyUe/_new 2014-11-18 22:49:01.000000000 +0100 @@ -81,7 +81,7 @@ exit 4 fi -pushd $tmpdir &> /dev/null +cd $tmpdir echo echo "Trying to find the fastest server:" @@ -89,14 +89,14 @@ for server in $SERVER; do echo -n " $server ... " - start=$SECONDS + start=${SECONDS:-$(date +%s)} curl $CURL_OPTIONS --connect-timeout 10 -o cabextract.rpm \ http://$server.dl.sourceforge.net/project/corefonts/cabextract/0.5/cabextract-0.5-1.i386.rpm if [ $? -ne 0 ]; then echo "too slow (aborted)" continue fi - stop=$SECONDS + stop=${SECONDS:-$(date +%s)} time=$((stop - start)) echo "$time sec" if [ $time -lt $besttime ]; then @@ -129,12 +129,12 @@ fi echo done echo -n " Extracting ... " - cabextract -l $file &> /dev/null + cabextract -l $file >/dev/null 2>&1 if [ $? -ne 0 ]; then rm -f $file echo "failed ... deleted!" else - cabextract $file &> /dev/null + cabextract $file >/dev/null 2>&1 echo "done" success=true break @@ -158,4 +158,4 @@ test -f /usr/share/doc/corefonts/EULA.html && w3m -dump /usr/share/doc/corefonts/EULA.html | tee $POST_MESSAGE -popd &> /dev/null +cd - >/dev/null -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
