1 2 3 4 5 6 7 8 9
#!/bin/bash test -f /etc/aurbuilder/config && source /etc/aurbuilder/config OUTPUT=${OUTPUT:-/srv/pkg/} REPONAME=${REPONAME:-aurbuilder} repo-add -p -R "$OUTPUT/$REPONAME.db.tar.gz" "$OUTPUT/"*.pkg.* || exit 1 rm -f "$OUTPUT/"*.old