summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/oem
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/tree/etc/oem')
-rwxr-xr-xrescue/tree/etc/oem5
1 files changed, 4 insertions, 1 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem
index 7cffb3fa1..e2935ff18 100755
--- a/rescue/tree/etc/oem
+++ b/rescue/tree/etc/oem
@@ -537,7 +537,10 @@ print F "%_install_langs $flang:$lang\n";
close F;
#- hack for package psacct which has problem with its log file not touched.
-${pkgs::packageByName($packages, 'psacct') || {}}{selected} and system "touch", "/mnt/var/log/psacct.log";
+if (${pkgs::packageByName($packages, 'psacct') || {}}{selected}) {
+ system "touch", "/mnt/var/log/psacct.log";
+ system "touch", "/mnt/var/log/pacct";
+}
system "rpm", "--root", "/mnt", "--initdb";