Also generate "InRelease" files for newer APT clients

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
Upstream-commit: b82fc524a73e918ff4d58c079ac276113b3c6e51
Component: engine
This commit is contained in:
Tianon Gravi
2016-03-31 17:28:44 -07:00
parent 0d08181d47
commit 318d2738fc

View File

@ -32,6 +32,13 @@ sign_packages(){
--batch --yes \
--output "$F.gpg" "$F"
fi
inRelease="$(dirname "$F")/InRelease"
if test "$F" -nt "$inRelease" ; then
gpg -u "$GPG_KEYID" --passphrase "$GPG_PASSPHRASE" \
--clearsign \
--batch --yes \
--output "$inRelease" "$F"
fi
done
fi