New Utils - installers

This commit is contained in:
2022-09-05 11:47:46 +03:00
parent eaf6125445
commit 8b7329a8c6
2 changed files with 10 additions and 7 deletions
+6 -4
View File
@@ -6,7 +6,8 @@ type="export"
rename=""
delete_type="none"
. <(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';
@@ -19,7 +20,8 @@ function printf_n() {
while test $# -gt 0; do
case "$1" in
-h|--help)
. <(wget -qO- https://raw.githubusercontent.com/letsnode/Utils/main/bashbuilder/logo.sh)
#. <(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 inserts variable or alias to ${C_LGn}$HOME/.bash_profile${RES}"
echo
@@ -37,8 +39,8 @@ while test $# -gt 0; do
echo -e "You can use either \"=\" or \" \" as an option and value ${C_LGn}delimiter${RES}"
echo
echo -e "${C_LGn}Useful URLs${RES}:"
echo -e "Script URL: https://github.com/letsnode/Utils/new/main/bashbuilder/addvar.sh"
echo -e "Telegram comunity: https://t.me/letskynode"
echo -e "Script URL: http://astrader.net:3006/sem/Utils/raw/branch/main/bashbuilder/addvar.sh"
#echo -e "Telegram comunity: https://t.me/letskynode"
echo
return 0 2>/dev/null; exit 0
;;