summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm
diff options
context:
space:
mode:
Diffstat (limited to 'installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm')
-rw-r--r--installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm b/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm
index 5d40e0b0..983834f8 100644
--- a/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm
+++ b/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm
@@ -50,9 +50,8 @@ sub fixPrerequiredFiles
my $self = shift;
my $stage1cDir = shift;
- if (system("chown root: $stage1cDir/etc/{group,passwd,shadow}")) {
- die _tr("unable to fix pre-required files (%s)", $!);
- }
+ chown(0, 0, "$stage1cDir/etc/group", "$stage1cDir/etc/passwd",
+ "$stage1cDir/etc/shadow");
}
sub updateDistroConfig