debrepo/scripts/gpgSign.sh
2023-04-27 15:20:02 +02:00

9 lines
275 B
Bash
Executable File

#!/bin/sh
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