From 89f3ea59ff1be49455b68437119091cf24c1cfb1 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Mon, 12 May 2025 21:22:48 +0200 Subject: auto download word list --- create-deploy.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/create-deploy.sh b/create-deploy.sh index 5c5057e..7d453a1 100755 --- a/create-deploy.sh +++ b/create-deploy.sh @@ -12,12 +12,17 @@ cat >dist/install.sh <<"EOF" cd "$(dirname -- "$0")" root="$PWD" echo "Switched to $root" -( - cd systemd +(cd systemd for f in *; do sed -e "s|SOURCE|$root|g" < "$f" > "/etc/systemd/system/$f" done ) +(cd rt + if ! [[ -d "$root"/rt/SimpleWordlists ]]; then + curl -L https://github.com/taikuukaits/SimpleWordlists/archive/master.tar.gz | tar -xzf- + mv SimpleWordlists{-master,} + fi +) ) EOF -- cgit