summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2020-01-29 15:12:03 -1000
committerSam Bingner <sam@bingner.com>2020-01-29 15:12:03 -1000
commit2f3aed897534530b830abc76b31710120eff08fe (patch)
tree8b1d4a4dc0b337fcc34cdadfdef0a5fffca8f7ea
parentde3a3579a2c807c471436be939313a242d222895 (diff)
Only sign for iphoneos
-rwxr-xr-xsign.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/sign.sh b/sign.sh
index 458b0cfc0..18ef181df 100755
--- a/sign.sh
+++ b/sign.sh
@@ -32,7 +32,11 @@ EOF
} >"Release"
- rm -f Release.gpg
- gpg -abs -o Release.gpg Release
+ rm -f Release.gpg InRelease
+ if [[ ${PKG_CFTARG} == *iphoneos-arm* ]] || [[ -d main/binary-iphoneos-arm/ ]]; then
+ gpg -abs -o Release.gpg Release
+ gpg -as --clear-sign -o InRelease Release
+ fi
popd
done
+diff -x Release.gpg -x InRelease -x Release -x Packages.xz -x Packages.bz2 -ur "${PKG_BASE}/apt-old/" "${PKG_REPO}"