summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xminiprokit.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/miniprokit.sh b/miniprokit.sh
index d06720a..2dd53ff 100755
--- a/miniprokit.sh
+++ b/miniprokit.sh
@@ -247,12 +247,12 @@ get_pkg()
tar -xzOf "../../../${filename}" control.tar.gz | \
tar -xz
)
+ tar -tzf "${root}/tmp/opkg/${package}/data.tar.gz" | sed 's/^\.//' \
+ >"${root}/var/lib/opkg/info/${package}.list"
+ rm -f "${root}/tmp/opkg/${package}/data.tar.gz"
for file in "${root}/tmp/opkg/${package}/"*; do
mv "${file}" "${root}/var/lib/opkg/info/${package}.${file##*/}"
done
- tar -tz "${root}/tmp/opkg/${package}/data.tar.gz" | sed 's/^\.//' \
- >"${root}/var/lib/opkg/info/${package}.list"
- rm -f "${root}/tmp/opkg/${package}/data.tar.gz"
rmdir "${root}/tmp/opkg/${package}"
# Write status file.