From: Ben Gras Date: Wed, 22 Mar 2006 16:44:45 +0000 (+0000) Subject: .bz -> .bz2 X-Git-Tag: v3.1.2a~170 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=f28a4d0e9c9acdcf1f59610a1f367e02cd2d6f13;p=minix.git .bz -> .bz2 --- diff --git a/commands/scripts/binpackage.sh b/commands/scripts/binpackage.sh index 4d7eeff0a..b39e5e46f 100644 --- a/commands/scripts/binpackage.sh +++ b/commands/scripts/binpackage.sh @@ -33,7 +33,7 @@ esac packagestart=$srcdir/now findlist=$srcdir/findlist tar=$srcdir/"`basename ${dir}`".tar -tarbz=$tar.bz +tarbz=$tar.bz2 mkdir $pdir 2>/dev/null || true binsizes big diff --git a/commands/scripts/packman.sh b/commands/scripts/packman.sh index df1048051..cd0a32e14 100644 --- a/commands/scripts/packman.sh +++ b/commands/scripts/packman.sh @@ -25,14 +25,14 @@ then pack=${cddrive}p2 if mount -r $pack $MP then cd $CDPACK - for package in `ls *.tar.bz` + for package in `ls *.tar.bz2` do grep $package List echo -n "Install $package (y/N) ? " read y if [ "$y" = y -o "$y" = Y ] then echo "Extracting $CDPACK/$package .." cat $package | packit - - srcname="`echo $package | sed 's/.tar.bz/-src.tar.bz/'`" + srcname="`echo $package | sed 's/.tar.bz2/-src.tar.bz2/'`" srcarc="$CDSRC/$srcname" if [ -f "$srcarc" ] then echo -n "Install its source (y/N) ? " @@ -71,8 +71,8 @@ then if [ -f $LISTFILE ] read packno if [ -n "$packno" ] then file="`grep "^$packno|" $LISTFILE | awk -F'|' '{ print $2 }'`" - url=$file.tar.bz - srcfile=$file-src.tar.bz + url=$file.tar.bz2 + srcfile=$file-src.tar.bz2 if [ -n "$url" ] then echo -n "Try to get source too? (y/N) " read src diff --git a/commands/scripts/rotate.sh b/commands/scripts/rotate.sh index 0c446e9eb..e6dc22994 100755 --- a/commands/scripts/rotate.sh +++ b/commands/scripts/rotate.sh @@ -25,7 +25,7 @@ k="$2" $RM "$1.$k" 2>/dev/null || exit 1 while [ "$k" -ge 2 ] do prev="`expr $k - 1`" - $MV $1.$prev.bz $1.$k.bz 2>/dev/null + $MV $1.$prev.bz2 $1.$k.bz2 2>/dev/null k=$prev done -$BZIP -c $1 >$1.1.bz && : >$1 +$BZIP -c $1 >$1.1.bz2 && : >$1