This commit is contained in:
Jack L. Frost 2015-08-11 18:33:17 +03:00
parent fbf61d89bd
commit da85c8bd0e
1 changed files with 8 additions and 0 deletions

View File

@ -38,9 +38,17 @@ main() {
build_pkg "$package" "$repo_name"
cd "${cfg_repos_dir}/${repo_name}"
printf 'Cleaning the %s repo...\n' "%s"
"$HOME/scripts/repo-clean" > repo_clean.log
printf 'Signing packages...\n'
"$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
printf 'Done\n'
}
main "$@"