Преглед изворни кода

escape for sed & fn_script_log_fail > fn_script_log_error

UltimateByte пре 9 година
родитељ
комит
451191c477
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      lgsm/functions/mods_core.sh

+ 2 - 2
lgsm/functions/mods_core.sh

@@ -121,7 +121,7 @@ fn_mod_tidy_files_list(){
 	sleep 0.5
 	sleep 0.5
 	fn_script_log_info "Tidy up ${modcommand}-files.txt"
 	fn_script_log_info "Tidy up ${modcommand}-files.txt"
 	# Lines/files to remove from file list (end with ";" separator)
 	# Lines/files to remove from file list (end with ";" separator)
-	removefromlist="cfg;addons;RustDedicated_Data;RustDedicated_Data/Managed;RustDedicated_Data/Managed/x86;"
+	removefromlist="cfg;addons;RustDedicated_Data;RustDedicated_Data\/Managed;RustDedicated_Data\/Managed\/x86;"
 	# Loop through files to remove from file list,
 	# Loop through files to remove from file list,
 	# generate elements to remove from list
 	# generate elements to remove from list
 	removefromlistamount="$(echo "${removefromlist}" | awk -F ';' '{ print NF }')"
 	removefromlistamount="$(echo "${removefromlist}" | awk -F ';' '{ print NF }')"
@@ -439,7 +439,7 @@ fn_mods_check_installed(){
 		echo ""
 		echo ""
 		fn_print_failure_nl "No installed mods or addons were found"
 		fn_print_failure_nl "No installed mods or addons were found"
 		echo " * Install mods using LGSM first with: ./${selfname} mods-install"
 		echo " * Install mods using LGSM first with: ./${selfname} mods-install"
-		fn_script_log_fail "No installed mods or addons were found."
+		fn_script_log_error "No installed mods or addons were found."
 		core_exit.sh
 		core_exit.sh
 	fi
 	fi
 }
 }