Kaynağa Gözat

Changed core functions names

Daniel Gibbs 10 yıl önce
ebeveyn
işleme
51414a9bc4
2 değiştirilmiş dosya ile 4 ekleme ve 7 silme
  1. 3 3
      functions/core_functions.sh
  2. 1 4
      functions/core_messages.sh

+ 3 - 3
functions/core_functions.sh

@@ -122,7 +122,7 @@ functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_getopt(){
+core_getopt.sh(){
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
@@ -137,7 +137,7 @@ functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-fn_messages(){
+core_messages.sh(){
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
@@ -320,4 +320,4 @@ fn_runfunction
 }
 
 # Calls on-screen messages
-fn_messages
+core_messages.sh

+ 1 - 4
functions/core_messages.sh

@@ -145,7 +145,4 @@ fn_printokeol(){
 # FAIL for end of line
 fn_printfaileol(){
 	echo -e "\e[0;31mFAIL\e[0m\n"
-}
-
-getopt=$1
-core_getopt.sh
+}