summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}"