Explorar o código

added modulename

Daniel Gibbs %!s(int64=10) %!d(string=hai) anos
pai
achega
eed7bbacba
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      lgsm/functions/core_dl.sh

+ 3 - 0
lgsm/functions/core_dl.sh

@@ -18,6 +18,9 @@ lgsm_version="210516"
 # fn_fetch_file "${fileurl}" "${filedir}" "${filename}" "${executecmd}" "${run}" "${force}" "${md5}"
 # fn_fetch_file "http://example.com/file.tar.bz2" "/some/dir" "file.tar.bz2" "executecmd" "run" "force" "10cd7353aa9d758a075c600a6dd193fd"
 
+local modulename="Download"
+function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
+
 fn_dl_md5(){
 	# Runs MD5 Check if available
 	if [ "${md5}" != "0" ]&&[ "${md5}" != "nomd5" ]; then