diff options
Diffstat (limited to 'scripts')
-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 |