Daniel Gibbs 9 лет назад
Родитель
Сommit
33b9467009
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lgsm/functions/command_mods_remove.sh

+ 1 - 1
lgsm/functions/command_mods_remove.sh

@@ -107,7 +107,7 @@ fi
 echo -en "removing ${modcommand} from ${modslockfile}..."
 echo -en "removing ${modcommand} from ${modslockfile}..."
 sleep 0.5
 sleep 0.5
 fn_script_log "Removing: ${modcommand} from ${modsinstalledlist}"
 fn_script_log "Removing: ${modcommand} from ${modsinstalledlist}"
-sed -i "/^${modcommand}$/d" "${modsinstalledlist}"
+sed -i "/^${modcommand}$/d" "${modsinstalledlistfullpath}"
 local exitcode=$?
 local exitcode=$?
 if [ ${exitcode} -ne 0 ]; then
 if [ ${exitcode} -ne 0 ]; then
 	fn_print_fail_eol_nl
 	fn_print_fail_eol_nl