diff options
author | Jeremy Guitton <debotux@free.fr> | 2009-08-19 01:00:20 +0200 |
---|---|---|
committer | Milan Bouchet-Valat <nalimilan@club.fr> | 2009-08-19 01:00:20 +0200 |
commit | a76bb71d19b11d151c099e2fb6a6a677817d5a2a (patch) | |
tree | c32f6b2b9247f9ebca0b2980e6e39a6900ef7f81 /Users | |
parent | c8e49f25d51cd86c371e489e1cae7512ff5fcbaf (diff) |
Bug 590239 - Fix distro detection in users to use proper variant of useradd
Used by Gentoo for a long time.
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 6703d0f..bd0603a 100644 --- a/Users/Users.pm +++ b/Users/Users.pm @@ -591,7 +591,8 @@ sub add_user if ($cmd_adduser && $Utils::Backend::tool{"platform"} !~ /^slackware/ && $Utils::Backend::tool{"platform"} !~ /^archlinux/ && - $Utils::Backend::tool{"platform"} !~ /^redhat/) + $Utils::Backend::tool{"platform"} !~ /^redhat/ && + $Utils::Backend::tool{"platform"} !~ /^gentoo/) { # use adduser if available and valid (slackware one is b0rk) # set empty gecos fields and password, they will be filled out later |