index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/common-functions | 7 |
diff --git a/bin/common-functions b/bin/common-functions index cc59e94..7f82042 100755 --- a/bin/common-functions +++ b/bin/common-functions @@ -142,12 +142,11 @@ find_git_repository_to_package_repository() { } -# package_locked_broken_or_blocked package git_revision mod_git_revision repository -# return if package - of given repository and revisions - is [locked or broken or blocked] +# package_locked_or_blocked package git_revision mod_git_revision repository +# return if package - of given repository and revisions - is [locked or blocked] -package_locked_broken_or_blocked() { +package_locked_or_blocked() { [ -f "${work_dir}/package-states/$1.$2.$3.$4.locked" ] || \ - [ -f "${work_dir}/package-states/$1.$2.$3.$4.broken" ] || \ [ -f "${work_dir}/package-states/$1.$2.$3.$4.blocked" ] } |