summaryrefslogtreecommitdiff
authortille <tille>2002-09-01 12:32:18 (UTC)
committer tille <tille>2002-09-01 12:32:18 (UTC)
commit21394ee7a48bbe0768a1b820b2493defa534257e (patch) (unidiff)
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
@@ -10,15 +10,17 @@ do
10 if [ $i != $other -a $other -nt $i ] 10 if [ $i != $other -a $other -nt $i ]
11 then 11 then
12 GOOD= 12 GOOD=
13 break 13 break
14 fi 14 fi
15 done 15 done
16 if [ -n "$GOOD" ] 16 if [ -n "$GOOD" ]
17 then 17 then
18 tar xfOz $i ./control.tar.gz | tar xfOz - ./control 18 # tar xfOz $i ./control.tar.gz | tar xfOz - ./control
19 # new version of ipkg uses ar instead of tar
20 ar pf $i control.tar.gz | tar xfOz - ./control
19 echo 21 echo
20 else 22 else
21 echo >&2 "Skipped old file: $i ($other is newer)" 23 echo >&2 "Skipped old file: $i ($other is newer)"
22 #mv $i old 24 #mv $i old
23 fi 25 fi
24done >Packages 26done >Packages