Utils
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
dive="false"
|
||||
action="install"
|
||||
|
||||
. <(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) --
|
||||
|
||||
function option_value() {
|
||||
echo "$1" | sed -e 's%^--[^=]*=%%g; s%^-[^=]*=%%g';
|
||||
@@ -59,7 +60,7 @@ function uninstall() {
|
||||
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 Docker"
|
||||
echo
|
||||
@@ -71,7 +72,7 @@ while test $# -gt 0; do
|
||||
echo -e " -u, --uninstall uninstall Docker (${C_R}completely delete all images and containers${RES})"
|
||||
echo
|
||||
echo -e "${C_LGn}Useful URLs${RES}:"
|
||||
echo -e "Script URL: https://raw.githubusercontent.com/letsnode/Utils/main/installers/docker.sh"
|
||||
echo -e "Script URL: http://astrader.net:3006/sem/Utils/raw/branch/main/Installers/docker.sh"
|
||||
echo -e "Telegram community: https://t.me/letskynode — node Community"
|
||||
echo
|
||||
return 0 2>/dev/null; exit 0
|
||||
|
||||
Reference in New Issue
Block a user