From fb38ec056bdb01bdc8d9e61e0acebddd8aea9fb2 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sat, 22 Jul 2023 00:08:12 +0200 Subject: add update_repo.sh and unit files --- scripts/update_repo.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 scripts/update_repo.sh (limited to 'scripts') 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" -- cgit v1.2.3