1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-11-22 00:32:15 -05:00
arch-ppa/push.sh

11 lines
382 B
Bash
Executable File

#!/bin/bash
set -e
cd aur
cp -a /etc/pacman.conf /etc/pacman.d/mirrorlist ./
# sign everything
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/ "$@"