diff options
| author | Linnea Gräf <nea@nea.moe> | 2025-05-12 21:22:48 +0200 |
|---|---|---|
| committer | Linnea Gräf <nea@nea.moe> | 2025-05-12 21:22:48 +0200 |
| commit | 89f3ea59ff1be49455b68437119091cf24c1cfb1 (patch) | |
| tree | b7fb4419b62c85ca2231375099c2c40f1a636435 /create-deploy.sh | |
| parent | b4a21508c8f2923af488256d42b807bdfe3a6b34 (diff) | |
| download | boobbot-89f3ea59ff1be49455b68437119091cf24c1cfb1.tar.gz boobbot-89f3ea59ff1be49455b68437119091cf24c1cfb1.tar.bz2 boobbot-89f3ea59ff1be49455b68437119091cf24c1cfb1.zip | |
auto download word list
Diffstat (limited to 'create-deploy.sh')
| -rwxr-xr-x | create-deploy.sh | 9 |
1 files 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 |
