This commit is contained in:
Jack L. Frost 2015-02-02 03:50:10 +03:00
parent 210b12ab7d
commit 9079dfd216

View File

@ -32,13 +32,15 @@ main() {
for i in "${cfg_build_dir}/repos"/*; do
repo_name="${i##*/}"
repos+=( "$repo_name" )
for r in "$i"/*; do
build_pkg "$repo_name" "${r##*/}"
done
done
echo "Entering ${i}..."
cd "$i"
for i in "${repos[@]}"; do
cd "${cfg_repos_dir}/${repo}"
repo-add -n "${repo_name}.db.tar.gz" *.pkg.tar.xz
done
}