This commit is contained in:
Jack L. Frost 2015-08-11 18:33:17 +03:00
parent fbf61d89bd
commit da85c8bd0e

View File

@ -38,9 +38,17 @@ main() {
build_pkg "$package" "$repo_name" build_pkg "$package" "$repo_name"
cd "${cfg_repos_dir}/${repo_name}" cd "${cfg_repos_dir}/${repo_name}"
printf 'Cleaning the %s repo...\n' "%s"
"$HOME/scripts/repo-clean" > repo_clean.log "$HOME/scripts/repo-clean" > repo_clean.log
printf 'Signing packages...\n'
"$HOME/scripts/repo-sign" > repo_sign.log "$HOME/scripts/repo-sign" > repo_sign.log
printf 'Adding packages to the %s repo...\n' "%s"
repo-add -n "${repo_name}.db.tar.gz" *.pkg.tar.xz &> update.log repo-add -n "${repo_name}.db.tar.gz" *.pkg.tar.xz &> update.log
printf 'Done\n'
} }
main "$@" main "$@"