From: Ben Gras Date: Mon, 6 Feb 2006 10:55:38 +0000 (+0000) Subject: Packme fix. X-Git-Tag: v3.1.2a~378 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/static/style.css?a=commitdiff_plain;h=e47299045ceb0b0818d97c476dfd1e721f6b610d;p=minix.git Packme fix. --- diff --git a/commands/scripts/packme.sh b/commands/scripts/packme.sh index 106fa5e62..c84b6d6a1 100644 --- a/commands/scripts/packme.sh +++ b/commands/scripts/packme.sh @@ -12,11 +12,13 @@ fi cd / if [ -n "$cddrive" ] -then isodir "$cddrive" $CDDIR | grep -i tbz | while read package - do echo -n "Install $package (y/n) ? " +then for package in `isodir "$cddrive" $CDDIR | grep -i '\.tbz'` + do echo -n "Install $package (y/N) ? " read y if [ "$y" = y ] - then isoread "$cddrive" $CDDIR/$package | bzip2 -d | pax -r -p e '*' / || echo "Extract failed." + then echo "Extracting $CDDIR/$package .." + isoread "$cddrive" $CDDIR/$package | smallbunzip2 | pax -r -p e || echo "Extract failed." fi done fi +