diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2023-07-25 13:57:08 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2023-07-25 13:57:08 +0200 |
commit | b73de1d5904a9c6f29b619675c54a0bca1802168 (patch) | |
tree | e91e3c05adb337bd6d30461dde486b1e7df61f99 /scripts | |
parent | 23532aefa6fa6b617e4137a3a018c173dc83f883 (diff) | |
download | aurbuilder-b73de1d5904a9c6f29b619675c54a0bca1802168.tar.gz |
fix update repo, change default repo name
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update_repo.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/update_repo.sh b/scripts/update_repo.sh index 2b0dbe2..3ec5696 100755 --- a/scripts/update_repo.sh +++ b/scripts/update_repo.sh @@ -3,7 +3,7 @@ test -f /etc/aurbuilder/config && source /etc/aurbuilder/config OUTPUT=${OUTPUT:-/srv/pkg/} -REPONAME=${REPONAME:-repo} +REPONAME=${REPONAME:-aurbuilder} repo-add -p -R "$OUTPUT/$REPONAME.db.tar.gz" "$OUTPUT/"*.pkg.* || exit 1 -rm -f "$OUTDIR/"*.old +rm -f "$OUTPUT/"*.old |