diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2023-07-22 13:59:15 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2023-07-22 13:59:15 +0200 |
commit | a50cb5188666e7de776d2550a70636e4e3c6388b (patch) | |
tree | fe401e3c9ce5de51e987db58235950eeee6e014a /scripts/update_repo.sh | |
parent | 3196b9796a0294ff46a710507e193e61bd752631 (diff) | |
download | aurbuilder-a50cb5188666e7de776d2550a70636e4e3c6388b.tar.gz |
fix update repo
Diffstat (limited to 'scripts/update_repo.sh')
-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 04e697e..9157972 100755 --- a/scripts/update_repo.sh +++ b/scripts/update_repo.sh @@ -1,5 +1,5 @@ #!/bin/bash OUTPUT=${OUTPUT:-/srv/pkg/} -repo-add -pR "$OUTPUT/repo.db.tar.gz" "$OUTPUT/*.pkg.*" -rm "$OUTDIR/*.old" +repo-add -pR "$OUTPUT/repo.db.tar.gz" "$OUTPUT/"*.pkg.* || exit 1 +rm -f "$OUTDIR/"*.old |