-rwxr-xr-x | scripts/mkPackages | 4 |
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 @@ -6,19 +6,21 @@ do #echo >&2 "$packagename..." GOOD=y for other in ${packagename}_* do if [ $i != $other -a $other -nt $i ] then 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 |