summaryrefslogtreecommitdiff
authortille <tille>2002-09-01 12:32:18 (UTC)
committer tille <tille>2002-09-01 12:32:18 (UTC)
commit21394ee7a48bbe0768a1b820b2493defa534257e (patch) (side-by-side diff)
tree35a3dee857365a4e025d8f3ad48dc8048dfcb862
parent8541fd1d46b9954598a7ccf7d56e1ceeaab730fd (diff)
downloadopie-21394ee7a48bbe0768a1b820b2493defa534257e.zip
opie-21394ee7a48bbe0768a1b820b2493defa534257e.tar.gz
opie-21394ee7a48bbe0768a1b820b2493defa534257e.tar.bz2
new ipkg format that uses ar instead of tar
commiting Groucho's opie.info version
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xscripts/mkPackages4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/mkPackages b/scripts/mkPackages
index 5734f1c..06d2281 100755
--- a/scripts/mkPackages
+++ b/scripts/mkPackages
@@ -12,13 +12,15 @@ do
GOOD=
break
fi
done
if [ -n "$GOOD" ]
then
- tar xfOz $i ./control.tar.gz | tar xfOz - ./control
+# tar xfOz $i ./control.tar.gz | tar xfOz - ./control
+ # new version of ipkg uses ar instead of tar
+ ar pf $i control.tar.gz | tar xfOz - ./control
echo
else
echo >&2 "Skipped old file: $i ($other is newer)"
#mv $i old
fi
done >Packages