index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-06-14 09:24:15 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-06-14 09:24:15 +0200 |
commit | 41727847a37f2eb11d835015327b29fd2e689bc5 (patch) | |
tree | c3fe26c5c0dd64ac3406e4e7bd6a99fef0607013 /bin | |
parent | a64b0be23127cc06ad2aa41c608b8f4ea15deb97 (diff) |
-rwxr-xr-x | bin/db-update | 8 |
diff --git a/bin/db-update b/bin/db-update index 58e9eaf..6831c22 100755 --- a/bin/db-update +++ b/bin/db-update @@ -61,6 +61,8 @@ done packages_to_stabilize=("${@}") +updated_package_database=false + # Create a lock file and a trap. exec 9> "${build_list_lock_file}" @@ -226,6 +228,7 @@ for package in ${done_packages}; do repo-remove 'staging.db.tar.gz' "${parts_names[@]}" for part in "${parts[@]}"; do mv "${part}"{,.sig} "../${destination}/" + updated_package_database=true done popd > /dev/null pushd "${master_mirror_directory}/i686/${destination}" > /dev/null @@ -237,3 +240,8 @@ done # TODO: # move packages from packages_to_stabilize from *testing/ to the stable repos + +if ${updated_package_database}; then + date '+%s' > \ + "${master_mirror_directory}/lastupdate" +fi |