summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-10-04 12:27:47 +0000
committerFrancois Pons <fpons@mandriva.com>2001-10-04 12:27:47 +0000
commit9886d15331abe5845dd18156de515211d6bff161 (patch)
tree27f11f3f571e6cf9851e706ff1036ca7b9318bc3 /rescue/tree/etc
parent889e7a51452044358d6f5b91e51816d9cd01e904 (diff)
downloaddrakx-9886d15331abe5845dd18156de515211d6bff161.tar
drakx-9886d15331abe5845dd18156de515211d6bff161.tar.gz
drakx-9886d15331abe5845dd18156de515211d6bff161.tar.bz2
drakx-9886d15331abe5845dd18156de515211d6bff161.tar.xz
drakx-9886d15331abe5845dd18156de515211d6bff161.zip
added another psacct log file in touch.
Diffstat (limited to 'rescue/tree/etc')
-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";