Only delete/resign sig if it changes
This commit is contained in:
4
push.sh
4
push.sh
@@ -4,7 +4,7 @@ cd aur
|
||||
cp -a /etc/pacman.conf /etc/pacman.d/mirrorlist ./
|
||||
|
||||
# sign everything
|
||||
gpg -u 'ECB9B8CBAAC68C03!' -b pacman.conf
|
||||
gpg -u 'ECB9B8CBAAC68C03!' -b mirrorlist
|
||||
gpg -v pacman.conf.sig 2>/dev/null || (rm -f pacman.conf.sig; gpg -u 'ECB9B8CBAAC68C03!' -b pacman.conf)
|
||||
gpg -v mirrorlist.sig 2>/dev/null || (rm -f mirrorlist.sig; gpg -u 'ECB9B8CBAAC68C03!' -b mirrorlist)
|
||||
|
||||
rsync -av --stats --progress --delete ./ root@mytorrentflux:/pacman/aur/
|
||||
|
Reference in New Issue
Block a user