diff options
-rw-r--r-- | lib/index.sh | 2 |
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' \ |