summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-05-09 15:49:13 +0200
committerErich Eckner <git@eckner.net>2017-05-09 15:49:13 +0200
commit3296ad9c0c067e95de4e739c22cfc78dae9554c5 (patch)
tree161656dd872c3b64483f488f4c28d4c2c32635d1 /bin/return-assignment
parent1fac3b19fb7fa7dc3bdf70b13c6f6a5b94258c19 (diff)
downloadbuilder-3296ad9c0c067e95de4e739c22cfc78dae9554c5.tar.xz
bin/return-assignment, bin/build-packages: sign packages and package data base
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment7
1 files changed, 2 insertions, 5 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index fccdf85..5b24502 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -9,7 +9,6 @@
# TODO:
# properly handle if built package is out of date
-# sign package database
# use lock file(s)
# remove old version(s) of newly compiled packages
@@ -48,10 +47,8 @@ fi
# extract package
mkdir -p "${master_mirror_directory}/$4-staging/"
cd "${master_mirror_directory}/$4-staging/"
-new_files="$(tar -xv --wildcards '*.pkg.tar.xz')"
-repo-add "$4-staging.db.tar.gz" $(echo "${new_files}" | grep '\.pkg\.tar\.xz$')
-#new_files="$(tar -xv --wildcards '*.pkg.tar.xz'{,.sig})"
-#repo-add -v -s -k "${repo_key}" "$4-staging.tar.gz" $(echo "${new_files}" | grep '\.pkg\.tar\.xz$')
+new_files="$(tar -xv --wildcards '*.pkg.tar.xz'{,.sig})"
+repo-add -v -s -k "${repo_key}" "$4-staging.db.tar.gz" $(echo "${new_files}" | grep '\.pkg\.tar\.xz\(\.sig\)\?$')
# remove all loops which are broken by this package
sed '1d' "${work_dir}/package-states/$1.$2.$3.$4.locked" | \