This commit is contained in:
Jack L. Frost 2015-02-02 03:47:26 +03:00
parent af876b38b8
commit 40c1b8beee

View File

@ -36,11 +36,9 @@ main() {
for r in "$i"/*; do
build_pkg "$repo_name" "${r##*/}"
done
done
for i in "${cfg_repos[@]}"; do
cd "${cfg_repos_dir}/${i}"
repo-add -n "$i.db.tar.gz" *.pkg.tar.xz
cd "$i"
repo-add -n "${repo_name}.db.tar.gz" *.pkg.tar.xz
done
}