diff options
Diffstat (limited to 'src/index.sh')
-rw-r--r-- | src/index.sh | 16 |
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= |