From e47299045ceb0b0818d97c476dfd1e721f6b610d Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Mon, 6 Feb 2006 10:55:38 +0000 Subject: [PATCH] Packme fix. --- commands/scripts/packme.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 + -- 2.44.0