Use updpkgsums

This commit is contained in:
Santiago Lo Coco 2023-10-07 15:14:36 -03:00
parent 40b020af01
commit b23433175b
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,8 @@ importPrivateKey() {
} }
buildPackage() { buildPackage() {
pacman -S --noconfirm pacman-contrib
sudo -Hu calbuilder updpkgsums
if [ -n "$gpgPrivateKey" ] && [ -n "$gpgPublicKey" ]; then if [ -n "$gpgPrivateKey" ] && [ -n "$gpgPublicKey" ]; then
importPrivateKey importPrivateKey
sudo -Hu calbuilder makepkg -s --sign --key "$gpgPublicKey" --noconfirm sudo -Hu calbuilder makepkg -s --sign --key "$gpgPublicKey" --noconfirm