diff options
Diffstat (limited to 'src/abslibre-tools/librerelease')
-rwxr-xr-x | src/abslibre-tools/librerelease | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/abslibre-tools/librerelease b/src/abslibre-tools/librerelease index f3f6259..aff13fa 100755 --- a/src/abslibre-tools/librerelease +++ b/src/abslibre-tools/librerelease @@ -126,7 +126,7 @@ function main { load_files libretools check_vars libretools WORKDIR PARABOLAHOST LIBREDESTDIR SIGID SIGEXT || return 1 # The following variables are actually optional - #check_vars libretools HOOKPRERELEASE || return 1 + #check_vars libretools HOOKPRERELEASE HOOKPOSTRELEASE || return 1 "$mode" } @@ -168,6 +168,8 @@ function release_packages { msg "Running db-update on repos" ssh ${PARABOLAHOST} dbscripts/db-update + [[ ! -z ${HOOKPOSTRELEASE} ]] && bash -c "${HOOKPOSTRELEASE}" + return 0 } |