summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-07-27 17:53:48 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-07-27 17:54:19 (EDT)
commit7cabb7d5cf106179a897a0a02feee31e1b0f609a (patch)
tree702c0c0824f840462f1db313992838114d0b319a /lib
parentb8fb9e8ae492c1d19a9c084a2469dc09c026e072 (diff)
feed_add_package(): Also make info directory.
Diffstat (limited to 'lib')
-rw-r--r--lib/index.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/index.sh b/lib/index.sh
index 7d5abf9..e555b4a 100644
--- a/lib/index.sh
+++ b/lib/index.sh
@@ -38,7 +38,7 @@ feed_add_package()
# Add package metadata to feed hash index.
feed_hash_idx="${opt_base_dir}/feeds/${chan}/${dist}/${plat}/${arch}"
feed_hash_idx="${feed_hash_idx}/${sect}/.db/${pkg_hash}"
- mkdir -p "${feed_hash_idx}"
+ mkdir -p "${feed_hash_idx}/info"
tar -xzOf "${opt_base_dir}/${file}" 'control.tar.gz' | \
tar -xzO './control' >"${feed_hash_idx}/info/${pkg}.control"
printf 'Filename: %s\nSize: %s\nMD5sum: %s\n\n' \