-rwxr-xr-x | scripts/mkPackages | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mkPackages b/scripts/mkPackages index 06d2281..b37aa10 100755 --- a/scripts/mkPackages +++ b/scripts/mkPackages | |||
@@ -8,19 +8,20 @@ do | |||
8 | for other in ${packagename}_* | 8 | for other in ${packagename}_* |
9 | do | 9 | 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 | 19 | # new version of ipkg uses ar instead of tar |
20 | echo "Filename: $i" | ||
20 | ar pf $i control.tar.gz | tar xfOz - ./control | 21 | ar pf $i control.tar.gz | tar xfOz - ./control |
21 | echo | 22 | echo |
22 | else | 23 | else |
23 | echo >&2 "Skipped old file: $i ($other is newer)" | 24 | echo >&2 "Skipped old file: $i ($other is newer)" |
24 | #mv $i old | 25 | #mv $i old |
25 | fi | 26 | fi |
26 | done >Packages | 27 | done >Packages |