diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2023-07-26 00:29:11 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2023-07-26 00:29:11 +0200 |
commit | cc9cc8b245bc785a44e3fe37ca59960d5eb604cd (patch) | |
tree | f86564f42fc45b6337c391f1b9e9e7a26c954e9b | |
parent | b73de1d5904a9c6f29b619675c54a0bca1802168 (diff) | |
download | aurbuilder-cc9cc8b245bc785a44e3fe37ca59960d5eb604cd.tar.gz |
move testscripts to own folder
-rwxr-xr-x | debug/build.sh (renamed from build.sh) | 2 | ||||
-rwxr-xr-x | debug/manage_repository.sh (renamed from manage_repository.sh) | 6 | ||||
-rwxr-xr-x | debug/testrun.sh (renamed from testrun.sh) | 0 |
3 files changed, 4 insertions, 4 deletions
diff --git a/build.sh b/debug/build.sh index 0d6ecd4..f9fef13 100755 --- a/build.sh +++ b/debug/build.sh @@ -5,5 +5,5 @@ DOCKER=podman #podman image prune $DOCKER pull archlinux:base-devel -$DOCKER build --no-cache -t aurbuilder container/ +$DOCKER build --no-cache -t aurbuilder ../container/ #$DOCKER build -t aurbuilder docker/ diff --git a/manage_repository.sh b/debug/manage_repository.sh index 395c263..5f0f01b 100755 --- a/manage_repository.sh +++ b/debug/manage_repository.sh @@ -2,10 +2,10 @@ # https://wiki.archlinux.org/title/Pacman/Tips_and_tricks#Custom_local_repository OUTDIR="testrun/db/" -PKGDIR="testrun/db/" +PKGDIR="testrun/pkgout/" mkdir -p "$OUTDIR" -repo-add -n "$OUTDIR/repo.db.tar.gz" "$PKGDIR/pkgout/*.pkg.*" +repo-add -p -R "$OUTDIR/repo.db.tar.gz" "$PKGDIR/"*.pkg.* -rm "$OUTDIR/*.old" +rm "$OUTDIR/"*.old diff --git a/testrun.sh b/debug/testrun.sh index 2329cf5..2329cf5 100755 --- a/testrun.sh +++ b/debug/testrun.sh |