diff options
author | carlosg <carlosg> | 2007-09-25 23:43:27 +0000 |
---|---|---|
committer | carlosg <carlosg> | 2007-09-25 23:43:27 +0000 |
commit | 33d8edebe4960812093255b3bc1669cc2d014f38 (patch) | |
tree | 81eba2d99dfbb35c63b018146481c389abe7ce08 /Users | |
parent | ef2925c8d159d1a33ccb0d2e68b102515f295287 (diff) |
2007-09-26 Carlos Garnacho <carlosg@gnome.org>
Add support for Archlinux to UsersConfig and ServicesConfig. patch
provided by Ermanno Scaglione <e.scaglione@arcor.de>
* Users/Users.pm (add_user): Archlinux prefers useradd.
* Init/Services.pm (get_runlevels) (set_archlinux_service_status)
(get_rcng_service_info) (run_rcng_script): Fixes for rcng/archlinux
init.
Diffstat (limited to 'Users')
-rw-r--r-- | Users/Users.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Users/Users.pm b/Users/Users.pm index 1062158..09464c3 100644 --- a/Users/Users.pm +++ b/Users/Users.pm @@ -578,7 +578,8 @@ sub add_user &Utils::File::run ("$tool_mkdir -p $home_parents"); if ($cmd_adduser && - $Utils::Backend::tool{"platform"} !~ /^slackware/) + $Utils::Backend::tool{"platform"} !~ /^slackware/ && + $Utils::Backend::tool{"platform"} !~ /^archlinux/) { # use adduser if available and valid (slackware one is b0rk) # set empty gecos fields and password, they will be filled out later |