summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-10 12:01:44 +0200
committerErich Eckner <git@eckner.net>2019-07-10 12:01:44 +0200
commit25e1ed3574aeb82ce319ac82f98527e0526fdda9 (patch)
treef85e8bc488824e58f805263a895ab0a6c3481ca0 /archPackagesUpdate
parent50bfcdcf2d419b111321c460355fabd65646077b (diff)
downloadarchlinuxewe-25e1ed3574aeb82ce319ac82f98527e0526fdda9.tar.xz
archPackagesUpdate: always sign packages manually
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-xarchPackagesUpdate7
1 files changed, 2 insertions, 5 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index 82cc36df9..9457e4403 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -523,7 +523,7 @@ if ${aufRechenknecht}; then
cleanUp
exit 1
fi
- sed 's|^\(BUILDENV=.*\)!sign|\1sign|' -i makepkg.conf
+ sed 's|^\(BUILDENV=.*[^!]\)sign|\1!sign|' -i makepkg.conf
cp makepkg{,-i686}.conf
if ! patch -p0 -i makepkg-i686.patch; then
cleanUp
@@ -692,10 +692,7 @@ if ${aufRechenknecht}; then
for teil_und_arch in "${paket_teile_und_archs[@]}"; do
teil="${teil_und_arch#*:}"
teil_arch="${teil_und_arch%%:*}"
- if ! gpg --verify ${teil}-${vers}-${teil_arch}.pkg.tar.xz{.sig,} &> /dev/null; then
- rm -f "${teil}-${vers}-${teil_arch}.pkg.tar.xz.sig"
- gpg --detach-sign -u "${key}" --no-armor ${teil}-${vers}-${teil_arch}.pkg.tar.xz
- fi
+ gpg --detach-sign -u "${key}" --no-armor ${teil}-${vers}-${teil_arch}.pkg.tar.xz
done
if ${upload} && [ ${err[${i}]} -eq 0 ]; then