From 7cabb7d5cf106179a897a0a02feee31e1b0f609a Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 27 Jul 2013 17:53:48 -0400 Subject: feed_add_package(): Also make info directory. --- 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' \ -- cgit v0.9.1