Merge remote-tracking branch 'refs/remotes/origin/master' into gmod-content-mounting

This commit is contained in:
Daniel Gibbs 2015-12-12 22:09:00 +00:00
commit f24ce0a830
43 changed files with 344 additions and 258 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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