aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-07-25 13:57:08 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-07-25 13:57:08 +0200
commitb73de1d5904a9c6f29b619675c54a0bca1802168 (patch)
treee91e3c05adb337bd6d30461dde486b1e7df61f99 /scripts
parent23532aefa6fa6b617e4137a3a018c173dc83f883 (diff)
downloadaurbuilder-b73de1d5904a9c6f29b619675c54a0bca1802168.tar.gz
fix update repo, change default repo name
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update_repo.sh4
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