|
@ -91,6 +91,7 @@ fn_getgithubfile(){ |
|
|
fileurl=${3:-$filename} |
|
|
fileurl=${3:-$filename} |
|
|
filepath="${lgsmdir}/${filename}" |
|
|
filepath="${lgsmdir}/${filename}" |
|
|
filedir=$(dirname "${filepath}") |
|
|
filedir=$(dirname "${filepath}") |
|
|
|
|
|
|
|
|
# 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 |
|
|