diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-01 21:13:02 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-05 20:01:06 -0600 |
commit | 8421e0e1d71750c9429f641a06b30059a304a8da (patch) | |
tree | 34f7dec94b623b8ee42262d713fb9c52d00a8a9c /src/abslibre-tools | |
parent | 4c1672b437f84a46a03a59fafea459a96c4638a4 (diff) |
librerelease: add a HOOKPOSTRELEASE
Diffstat (limited to 'src/abslibre-tools')
-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 } |