debrepo/scripts/gpgSign.sh

9 lines
275 B
Bash
Raw Normal View History

#!/bin/sh
2023-04-27 15:20:02 +02:00
KEY="$1"
echo "debrepo: signing using $KEY"
cat ./apt-repo/dists/stable/Release | gpg --default-key $KEY -abs > ./apt-repo/dists/stable/Release.gpg
cat ./apt-repo/dists/stable/Release | gpg --default-key $KEY -abs --clearsign > ./apt-repo/dists/stable/InRelease