This commit is contained in:
2022-09-05 12:37:12 +03:00
parent 8b7329a8c6
commit c5c0ead6f6
4 changed files with 21 additions and 17 deletions
+7 -5
View File
@@ -4,12 +4,14 @@ function="install"
nightly="false"
# Options
. <(wget -qO- https://raw.githubusercontent.com/letsnode/Utils/main/bashbuilder/colors.sh) --
#. <(wget -qO- https://raw.githubusercontent.com/letsnode/Utils/main/bashbuilder/colors.sh) --
. <(wget -qO- http://astrader.net:3006/sem/Utils/raw/branch/main/bashbuilder/colors.sh) --
option_value(){ echo "$1" | sed -e 's%^--[^=]*=%%g; s%^-[^=]*=%%g'; }
while test $# -gt 0; do
case "$1" in
-h|--help)
. <(wget -qO- https://raw.githubusercontent.com/letsnode/Utils/main/bashbuilder/logo.sh)
. <(wget -qO- http://astrader.net:3006/sem/Utils/raw/branch/main/bashbuilder/logo.sh)
echo
echo -e "${C_LGn}Functionality${RES}: the script installs or uninstalls Rust"
echo
@@ -21,10 +23,10 @@ while test $# -gt 0; do
echo -e " -u, --uninstall uninstall Rust"
echo
echo -e "${C_LGn}Useful URLs${RES}:"
echo -e "Script URL: https://raw.githubusercontent.com/letsnode/Utils/main/installers/rust.sh"
echo -e "Script URL: http://astrader.net:3006/sem/Utils/raw/branch/main/Installers/rust.sh"
echo -e "https://www.rust-lang.org/tools/install — Rust installation"
echo -e "https://t.me/letskynode — node Community"
echo -e "https://teletype.in/@letskynode — guides and articles"
# echo -e "https://t.me/letskynode — node Community"
# echo -e "https://teletype.in/@letskynode — guides and articles"
echo
return 0 2>/dev/null; exit 0
;;