diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2023-07-22 00:08:12 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2023-07-22 00:08:12 +0200 |
commit | fb38ec056bdb01bdc8d9e61e0acebddd8aea9fb2 (patch) | |
tree | 2e2468eb9f9bfc870409fd19149a80bde7aad253 /scripts | |
parent | 166dad23dfe637700f43e87473ca48de662f3743 (diff) | |
download | aurbuilder-fb38ec056bdb01bdc8d9e61e0acebddd8aea9fb2.tar.gz |
add update_repo.sh and unit files
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update_repo.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/update_repo.sh b/scripts/update_repo.sh new file mode 100755 index 0000000..04e697e --- /dev/null +++ b/scripts/update_repo.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +OUTPUT=${OUTPUT:-/srv/pkg/} +repo-add -pR "$OUTPUT/repo.db.tar.gz" "$OUTPUT/*.pkg.*" +rm "$OUTDIR/*.old" |