|
@ -94,7 +94,7 @@ fn_getgithubfile(){ |
|
|
# If the function file is missing, then download |
|
|
# If the function file is missing, then download |
|
|
if [ ! -f "${filepath}" ]; then |
|
|
if [ ! -f "${filepath}" ]; then |
|
|
if [ ! -d "${filedir}" ]; then |
|
|
if [ ! -d "${filedir}" ]; then |
|
|
mkdir "${filedir}" |
|
|
mkdir -p "${filedir}" |
|
|
fi |
|
|
fi |
|
|
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}" |
|
|
githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}" |
|
|
echo -e " fetching ${filename} (${githuburl})\c" |
|
|
echo -e " fetching ${filename} (${githuburl})\c" |
|
|