From 959f63615255f18a63181635803807e44504bbf5 Mon Sep 17 00:00:00 2001 From: mag37 Date: Sun, 31 Mar 2024 20:41:38 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8835ab6..9c4142e 100644 --- a/README.md +++ b/README.md @@ -80,8 +80,12 @@ ___ ## :tent: Install Instructions Download the script to a directory in **PATH**, I'd suggest using `~/.local/bin` as that's usually in **PATH**. ```sh +# basic example with curl: curl -L https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh -o ~/.local/bin/dockcheck.sh -chmod +x ~/local/bin/dockcheck.sh +chmod +x ~/.local/bin/dockcheck.sh + +# or oneliner with wget: +wget -O ~/.local/bin/dockcheck.sh "https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh" && chmod +x ~/.local/bin/dockcheck.sh ``` Then call the script anywhere with just `dockcheck.sh`. Add preferred `notify.sh`-template to the same directory - this will not be touched by the scripts self-update function.