From fd940407806d5e3029fb901fd39edf296a10acd0 Mon Sep 17 00:00:00 2001 From: nyyu Date: Fri, 4 Jun 2021 07:53:26 +0200 Subject: [PATCH] Remove old package on upgrade --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index e02cf6c..315bd7b 100755 --- a/build.sh +++ b/build.sh @@ -17,7 +17,7 @@ build() { if makepkg -s --skippgpcheck --noconfirm --sign || makepkg -s --skippgpcheck --nocheck --noconfirm --sign ; then for pkg in *.pkg.tar.zst ; do cp "$pkg"{,.sig} /repo/ - repo-add -s /repo/nyyu.db.tar.zst /repo/"$pkg" + repo-add -R -s /repo/nyyu.db.tar.zst /repo/"$pkg" done fi fi