author | groucho <groucho> | 2003-04-22 17:10:09 (UTC) |
---|---|---|
committer | groucho <groucho> | 2003-04-22 17:10:09 (UTC) |
commit | 4b5fb887993d2e82a7f7c885c8a7104f1aad6b89 (patch) (side-by-side diff) | |
tree | 45e9620c22c07402a55aa088e2622c5ba8020a0a /scripts/mkPackages | |
parent | d52050f2d288435e47da6448f7c8f060cea1d02f (diff) | |
download | opie-4b5fb887993d2e82a7f7c885c8a7104f1aad6b89.zip opie-4b5fb887993d2e82a7f7c885c8a7104f1aad6b89.tar.gz opie-4b5fb887993d2e82a7f7c885c8a7104f1aad6b89.tar.bz2 |
At least mPackages now inserts the file names to the Package entry- rough work around
-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 @@ -1,26 +1,27 @@ #!/bin/sh for i in *.ipk do packagename=${i%%_*} #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 # new version of ipkg uses ar instead of tar + echo "Filename: $i" 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 |