From b73de1d5904a9c6f29b619675c54a0bca1802168 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Tue, 25 Jul 2023 13:57:08 +0200 Subject: fix update repo, change default repo name --- configs/config | 2 +- scripts/update_repo.sh | 4 ++-- 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 " # 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 -- cgit v1.2.3