summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-20 15:16:00 +0200
committerErich Eckner <git@eckner.net>2017-06-20 15:16:00 +0200
commitd84c4ca6a15a7b1fd716ed23ad184525f805df6e (patch)
treed2710203ecc745435267c4ddb8c2a7d18ded120c
parent536bda6023fc5a6204dd3d8d70231aae9f28ba0d (diff)
downloadbuilder-d84c4ca6a15a7b1fd716ed23ad184525f805df6e.tar.xz
also update $repo.files.tar.gz
-rwxr-xr-xbin/db-update2
-rwxr-xr-xbin/return-assignment2
2 files changed, 4 insertions, 0 deletions
diff --git a/bin/db-update b/bin/db-update
index e52c406..2d72456 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -143,6 +143,7 @@ move_packages() {
${master_mirror_command} \
"${master_mirror_directory}/i686/${repo}/${repo}.db."* \
+ "${master_mirror_directory}/i686/${repo}/${repo}.files."* \
"${tmp_dir}/${repo}/"
# add and remove the packages locally
@@ -197,6 +198,7 @@ move_packages() {
${master_mirror_command} \
"${tmp_dir}/${repo}/${repo}.db."* \
+ "${tmp_dir}/${repo}/${repo}.files."* \
"${master_mirror_directory}/i686/${repo}/"
done < \
diff --git a/bin/return-assignment b/bin/return-assignment
index 4e1b8e7..9d89843 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -163,12 +163,14 @@ destination="$(official_or_community "$1.$2.$3.$4")staging"
${master_mirror_command} \
"${master_mirror_directory}/i686/${destination}/${destination}.db."* \
+ "${master_mirror_directory}/i686/${destination}/${destination}.files."* \
.
repo-add "${destination}.db.tar.gz" ${packages}
# repo-add -v -s -k "${repo_key}" "${destination}.db.tar.gz" ${packages}
${master_mirror_command} \
"${destination}.db."* \
+ "${destination}.files."* \
./*".pkg.tar.xz" \
./*".pkg.tar.xz.sig" \
"${master_mirror_directory}/i686/${destination}/"