X-Git-Url: https://git.josue.xyz/?p=webi-installers%2F.git;a=blobdiff_plain;f=vps-utils%2Finstall.sh;fp=vps-utils%2Finstall.sh;h=3eb136b66b7ae10076fe844cf556b7cca78582e8;hp=1e260a95281e2bc40ebae6d65675176144e73c4a;hb=4edf137e5d6b65f9ac847db6694ac387c7e91f3e;hpb=91512157ab426c87e0a82b594620e90e324b23a3 diff --git a/vps-utils/install.sh b/vps-utils/install.sh index 1e260a9..3eb136b 100644 --- a/vps-utils/install.sh +++ b/vps-utils/install.sh @@ -1,8 +1,8 @@ #!/bin/bash +set -e +set -u function __init_vps_utils() { - set -e - set -u rm -f "$HOME/.local/bin/myip" "$HOME/.local/bin/vps-myip" "$HOME/.local/bin/vps-addswap" "$HOME/.local/bin/cap-net-bind" webi_download "$WEBI_HOST/packages/vps-utils/cap-net-bind.sh" "$HOME/.local/bin/cap-net-bind"