aboutsummaryrefslogtreecommitdiff
path: root/scripts/update_repo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update_repo.sh')
-rwxr-xr-xscripts/update_repo.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/update_repo.sh b/scripts/update_repo.sh
new file mode 100755
index 0000000..04e697e
--- /dev/null
+++ b/scripts/update_repo.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+OUTPUT=${OUTPUT:-/srv/pkg/}
+repo-add -pR "$OUTPUT/repo.db.tar.gz" "$OUTPUT/*.pkg.*"
+rm "$OUTDIR/*.old"