From cc9cc8b245bc785a44e3fe37ca59960d5eb604cd Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Wed, 26 Jul 2023 00:29:11 +0200 Subject: move testscripts to own folder --- debug/manage_repository.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 debug/manage_repository.sh (limited to 'debug/manage_repository.sh') diff --git a/debug/manage_repository.sh b/debug/manage_repository.sh new file mode 100755 index 0000000..5f0f01b --- /dev/null +++ b/debug/manage_repository.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# https://wiki.archlinux.org/title/Pacman/Tips_and_tricks#Custom_local_repository + +OUTDIR="testrun/db/" +PKGDIR="testrun/pkgout/" + +mkdir -p "$OUTDIR" + +repo-add -p -R "$OUTDIR/repo.db.tar.gz" "$PKGDIR/"*.pkg.* + +rm "$OUTDIR/"*.old -- cgit v1.2.3