Kaydet (Commit) bae7ec75 authored tarafından Petr Mladek's avatar Petr Mladek

do not remove logging directory under hands

the installer is called several times for langpacks and helppacks
in parallel; it has removed the whole toplevel logging directory
and the logging failed

better solution would be to remove only the lang-specific subdirectories;
well, the installer removed only emptry directories in the past, see
2584a460

Change-Id: I9dc9591346c7447677f46bca15085a3877e067ce
üst 52ecc712
......@@ -182,7 +182,9 @@ sub run {
########################################################
my $oldloggingdir = $loggingdir;
installer::systemactions::remove_complete_directory($oldloggingdir);
# FIXME: It would be better to use installer::systemactions::remove_complete_directory
# Though, we would need to remove only the lang-specific subdirectory for langpacks and helppacks
rmdir $oldloggingdir;
$loggingdir = installer::systemactions::create_directories("logging", "");
$loggingdir = $loggingdir . $installer::globals::separator;
$installer::globals::exitlog = $loggingdir;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment