aboutsummaryrefslogtreecommitdiff
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
parent23532aefa6fa6b617e4137a3a018c173dc83f883 (diff)
downloadaurbuilder-b73de1d5904a9c6f29b619675c54a0bca1802168.tar.gz
fix update repo, change default repo name
-rw-r--r--configs/config2
-rwxr-xr-xscripts/update_repo.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/configs/config b/configs/config
index 6ebf0ba..6a8128c 100644
--- a/configs/config
+++ b/configs/config
@@ -7,4 +7,4 @@
#PACKAGER="John Doe <John.Doe@example.com>"
# name of the repository. This name has to be used in pacman.conf
-#REPONAME="repo"
+#REPONAME="aurbuilder"
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