Просмотр исходного кода

added fn_postinstall_tasks & fn_remove_cfg_files

UltimateByte 9 лет назад
Родитель
Сommit
890e20438e
1 измененных файлов с 5 добавлено и 2 удалено
  1. 5 2
      lgsm/functions/command_mods_update.sh

+ 5 - 2
lgsm/functions/command_mods_update.sh

@@ -71,16 +71,19 @@ fn_mods_update_loop(){
 				fn_mod_dl
 				fn_mod_dl
 				# Extract the mod
 				# Extract the mod
 				fn_mod_extract
 				fn_mod_extract
-				# Remove files that should not be erased
-				# fn_remove_cfg_files
 				# Convert to lowercase if needed
 				# Convert to lowercase if needed
 				fn_mod_lowercase
 				fn_mod_lowercase
+				# Remove files that should not be erased
+				fn_remove_cfg_files
 				# Build a file list
 				# Build a file list
 				fn_mod_fileslist
 				fn_mod_fileslist
 				# Copying to destination
 				# Copying to destination
 				fn_mod_copy_destination
 				fn_mod_copy_destination
 				# Ending with installation routines
 				# Ending with installation routines
 				fn_mod_add_list
 				fn_mod_add_list
+				# Post install fixes
+				fn_postinstall_tasks
+				# Cleaning
 				fn_clear_tmp_mods
 				fn_clear_tmp_mods
 				fn_print_ok_nl "${modprettyname} installed."
 				fn_print_ok_nl "${modprettyname} installed."
 				fn_script_log "${modprettyname} installed."
 				fn_script_log "${modprettyname} installed."