diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2012-03-07 14:56:58 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-03-07 14:56:58 +0100 |
commit | 6c29c8e05486934cb52bfba9baef02496d26199a (patch) | |
tree | c58776d2147a5b8e3e0f5a7aeffdd05d6803d186 /cron-jobs/sourceballs | |
parent | a14cb544ed9edf6cc07f8cdd5bf4d6c5f27a0492 (diff) |
sourceballs: If ALLOWED_LICENSES is empty create source packages for every package
Diffstat (limited to 'cron-jobs/sourceballs')
-rwxr-xr-x | cron-jobs/sourceballs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs index 4c4cbfd..a24676d 100755 --- a/cron-jobs/sourceballs +++ b/cron-jobs/sourceballs @@ -64,7 +64,7 @@ for repo in ${PKGREPOS[@]}; do continue fi # Check if the license or .force file does not enforce creating a source package - if ! (chk_license ${pkglicense[@]} || grep -Fqx "${pkgbase}" "${dirname}/sourceballs.force"); then + if ! ([[ -z ${ALLOWED_LICENSES[@]} ]] || chk_license ${pkglicense[@]} || grep -Fqx "${pkgbase}" "${dirname}/sourceballs.force"); then continue fi # Store the expected file name of the source package |