X-Git-Url: https://git.josue.xyz/?p=webi-installers%2F.git;a=blobdiff_plain;f=myip%2Finstall.sh;fp=myip%2Finstall.sh;h=a544cd7907867b8987d8ed496c62525e1ff8efcc;hp=2f908b561dd341d1a5861eedf8454447dc83243d;hb=4edf137e5d6b65f9ac847db6694ac387c7e91f3e;hpb=91512157ab426c87e0a82b594620e90e324b23a3 diff --git a/myip/install.sh b/myip/install.sh index 2f908b5..a544cd7 100644 --- a/myip/install.sh +++ b/myip/install.sh @@ -1,8 +1,8 @@ #!/bin/bash +set -e +set -u function __init_myip() { - set -e - set -u rm -f "$HOME/.local/bin/myip" webi_download "$WEBI_HOST/packages/myip/myip.sh" "$HOME/.local/bin/myip"