melawy-aur-repo/01_sign.sh

10 lines
264 B
Bash
Raw Normal View History

2023-04-30 18:31:02 +05:00
#!/bin/bash
for i in x86_64/*.zst;
do
2023-05-02 20:52:35 +05:00
echo "Удаление подписи $i.sig"
2023-04-30 18:31:02 +05:00
rm -f $i.sig
2023-05-02 20:52:35 +05:00
echo "Добавление подписи $i.sig"
2023-04-30 18:31:02 +05:00
gpg --detach-sign --local-user 95F48000540A4DB146583A47C49B5E77FD80302D --output "$i.sig" "$i"
done