|
|
@ -52,12 +52,13 @@ fn_mods_update_loop(){ |
|
|
|
fn_mod_get_info_from_command |
|
|
|
# Don't update the mod if it's policy is to "NOUPDATE" |
|
|
|
if [ "${modkeepfiles}" == "NOUPDATE" ]; then |
|
|
|
fn_print_warning "${modprettyname} update has been disabled by LGSM." |
|
|
|
fn_print_warning_nl "${modprettyname} update has been disabled by LGSM." |
|
|
|
echo " * Usual reason is to prevent erasing custom files." |
|
|
|
echo " * If you still wish to update this mod:" |
|
|
|
echo " * 1) Backup your critical mod files" |
|
|
|
echo " * 2) Uninstall the mod with ./${selfname} mods-uninstall (optionnal)" |
|
|
|
echo " * 3) Re-install the mod with ./${selfname} mods-install" |
|
|
|
let installedmodsline=installedmodsline+1 |
|
|
|
else |
|
|
|
fn_print_dots_nl "Updating ${modprettyname}" |
|
|
|
fn_script_log "Updating ${modprettyname}." |
|
|
|