]> Zhao Yanbai Git Server - minix.git/commitdiff
.bz -> .bz2
authorBen Gras <ben@minix3.org>
Wed, 22 Mar 2006 16:44:45 +0000 (16:44 +0000)
committerBen Gras <ben@minix3.org>
Wed, 22 Mar 2006 16:44:45 +0000 (16:44 +0000)
commands/scripts/binpackage.sh
commands/scripts/packman.sh
commands/scripts/rotate.sh

index 4d7eeff0a6117a5e6acf8cc5f6d03a03b37373bf..b39e5e46fe0085b89de4520af8f6ff87284209aa 100644 (file)
@@ -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
index df1048051d8006d9cba7d47a18d80a555dc65365..cd0a32e14104bde0cfbd05bd6426e7f7e457b377 100644 (file)
@@ -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
index 0c446e9eb6e3f6454716ff158407362ef9dceb31..e6dc22994210809ec2f7e036c2f666e2ad503a85 100755 (executable)
@@ -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