ipkg-make-index.sh: drop a few non-essential fields

Saves some more space on the package index

Signed-off-by: Felix Fietkau <nbd@nbd.name>
master
Felix Fietkau 8 years ago
parent 34c2b3de66
commit b4aa3c899c
  1. 2
      scripts/ipkg-make-index.sh

@ -24,7 +24,7 @@ for pkg in `find $pkg_dir -name '*.ipk' | sort`; do
tar -xzOf $pkg ./control.tar.gz | tar xzOf - ./control | sed -e "s/^Description:/Filename: $sed_safe_pkg\\ tar -xzOf $pkg ./control.tar.gz | tar xzOf - ./control | sed -e "s/^Description:/Filename: $sed_safe_pkg\\
Size: $file_size\\ Size: $file_size\\
SHA256sum: $sha256sum\\ SHA256sum: $sha256sum\\
Description:/" Description:/" | grep -vE '^(Maintainer|LicenseFiles|Source|Require)'
echo "" echo ""
done done
[ -n "$empty" ] && echo [ -n "$empty" ] && echo

Loading…
Cancel
Save