asdlfjsd
This commit is contained in:
parent
210b12ab7d
commit
9079dfd216
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user