asdlfjsd
This commit is contained in:
parent
210b12ab7d
commit
9079dfd216
|
@ -32,13 +32,15 @@ main() {
|
||||||
|
|
||||||
for i in "${cfg_build_dir}/repos"/*; do
|
for i in "${cfg_build_dir}/repos"/*; do
|
||||||
repo_name="${i##*/}"
|
repo_name="${i##*/}"
|
||||||
|
repos+=( "$repo_name" )
|
||||||
|
|
||||||
for r in "$i"/*; do
|
for r in "$i"/*; do
|
||||||
build_pkg "$repo_name" "${r##*/}"
|
build_pkg "$repo_name" "${r##*/}"
|
||||||
done
|
done
|
||||||
|
done
|
||||||
|
|
||||||
echo "Entering ${i}..."
|
for i in "${repos[@]}"; do
|
||||||
cd "$i"
|
cd "${cfg_repos_dir}/${repo}"
|
||||||
repo-add -n "${repo_name}.db.tar.gz" *.pkg.tar.xz
|
repo-add -n "${repo_name}.db.tar.gz" *.pkg.tar.xz
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user