summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-06-23 20:16:10 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-06-23 20:35:40 (EDT)
commit3c3d97f52ec08a4f1f2d3f8529796573123e7b87 (patch)
treef17f855ae9d9e82a50da7712be80949b2e87582c
parent50d5a14d3eee1c7ce04ae85fa458d43d8e0cf998 (diff)
feed_create(): New function
-rw-r--r--src/index.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/index.sh b/src/index.sh
index 33dca70..275934e 100644
--- a/src/index.sh
+++ b/src/index.sh
@@ -114,6 +114,22 @@ feed_remove_package()
return 0
}
+feed_create()
+{
+ local chan="${1}"
+ local dist="${2}"
+ local arch="${3}"
+ local plat="${4}"
+ local sect="${5}"
+ shift 5
+
+ mkdir -p -- \
+ "${base_dir}/feeds/.db/${chan}_${dist}/${arch}_${plat}/${sect}"\
+ "${base_dir}/feeds/${chan}/${dist}/${arch}/${plat}/${sect}/.db"
+
+ return 0
+}
+
update_feeds()
{
local suite_dirent=