diff options
author | Francois Pons <fpons@mandriva.com> | 2001-10-04 12:27:47 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-10-04 12:27:47 +0000 |
commit | 9886d15331abe5845dd18156de515211d6bff161 (patch) | |
tree | 27f11f3f571e6cf9851e706ff1036ca7b9318bc3 /rescue | |
parent | 889e7a51452044358d6f5b91e51816d9cd01e904 (diff) | |
download | drakx-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')
-rwxr-xr-x | rescue/tree/etc/oem | 5 |
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"; |