mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2025-01-08 12:07:37 +08:00
Merge remote-tracking branch 'refs/remotes/origin/master' into gmod-content-mounting
This commit is contained in:
commit
f24ce0a830
@ -87,15 +87,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -85,15 +85,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -100,15 +100,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -114,15 +114,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -85,15 +85,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -97,15 +97,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -90,15 +90,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -84,15 +84,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -93,15 +93,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -90,15 +90,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -70,15 +70,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -96,15 +96,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -96,15 +96,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -85,15 +85,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -89,15 +89,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -88,15 +88,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -84,15 +84,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -96,15 +96,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -91,15 +91,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -67,15 +67,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -87,15 +87,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -86,15 +86,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -79,15 +79,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
@ -78,15 +78,17 @@ if [ ! -f "${filepath}" ]; then
|
||||
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}"
|
||||
echo -e " fetching ${filename}...\c"
|
||||
if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then
|
||||
:
|
||||
else
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo "Curl is not installed!"
|
||||
echo -e ""
|
||||
exit
|
||||
fi
|
||||
CURL=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[0;31mFAIL\e[0m\n"
|
||||
echo " $CURL"|grep "curl:"
|
||||
echo " ${curl}"|grep "curl:"
|
||||
echo -e "${githuburl}\n"
|
||||
exit
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user