diff --git a/README.md b/README.md index 318ab4e..3282b05 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A demo repository with a basic HTPC configuration for demonstration and testing ## One-Command Run To clone the repo and run the demo all in one go, the following command will download the [managarr-demo](./managarr-demo.sh) script and run it: ```shell -curl https://raw.githubusercontent.com/Dark-Alex-17/managarr-demo/main/managarr-demo.sh | sh +curl https://raw.githubusercontent.com/Dark-Alex-17/managarr-demo/main/managarr-demo.sh > /tmp/managarr-demo.sh && bash /tmp/managarr-demo.sh ``` **Note**: This script will only work on systems with `bash` installed. @@ -23,7 +23,8 @@ This demo will download a handful of docker images. To clean up after this demo, docker image rm darkalex17/managarr &&\ docker image rm lscr.io/linuxserver/radarr &&\ docker image rm lscr.io/linuxserver/prowlarr &&\ - rm -rf /tmp/managarr-demo + rm -rf /tmp/managarr-demo &&\ + rm -rf /tmp/managarr-demo.sh ``` ## Limitations diff --git a/managarr-demo.sh b/managarr-demo.sh index d158c59..4ede887 100755 --- a/managarr-demo.sh +++ b/managarr-demo.sh @@ -17,4 +17,5 @@ set -e docker compose -f "$DEMO_TEMP_DIR/docker-compose.yml" run --rm managarr &&\ docker compose -f "$DEMO_TEMP_DIR/docker-compose.yml" down &&\ - docker image rm darkalex17/managarr + docker image rm darkalex17/managarr &&\ + rm -rf /tmp/managarr-demo.sh