|
@ -100,7 +100,7 @@ fi |
|
|
echo -en "removing ${modcommand}-files.txt..." |
|
|
echo -en "removing ${modcommand}-files.txt..." |
|
|
fn_sleep_time |
|
|
fn_sleep_time |
|
|
rm -rf "${modsdir:?}/${modcommand}-files.txt" |
|
|
rm -rf "${modsdir:?}/${modcommand}-files.txt" |
|
|
local exitcode=$? |
|
|
exitcode=$? |
|
|
if [ "${exitcode}" != 0 ]; then |
|
|
if [ "${exitcode}" != 0 ]; then |
|
|
fn_script_log_fatal "Removing ${modsdir}/${modcommand}-files.txt" |
|
|
fn_script_log_fatal "Removing ${modsdir}/${modcommand}-files.txt" |
|
|
fn_print_fail_eol_nl |
|
|
fn_print_fail_eol_nl |
|
@ -115,7 +115,7 @@ echo -en "removing ${modcommand} from ${modsinstalledlist}..." |
|
|
fn_sleep_time |
|
|
fn_sleep_time |
|
|
|
|
|
|
|
|
sed -i "/^${modcommand}$/d" "${modsinstalledlistfullpath}" |
|
|
sed -i "/^${modcommand}$/d" "${modsinstalledlistfullpath}" |
|
|
local exitcode=$? |
|
|
exitcode=$? |
|
|
if [ "${exitcode}" != 0 ]; then |
|
|
if [ "${exitcode}" != 0 ]; then |
|
|
fn_script_log_fatal "Removing ${modcommand} from ${modsinstalledlist}" |
|
|
fn_script_log_fatal "Removing ${modcommand} from ${modsinstalledlist}" |
|
|
fn_print_fail_eol_nl |
|
|
fn_print_fail_eol_nl |
|
|