diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-09-18 21:07:57 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-09-18 21:07:57 +0000 |
commit | 817a42b9e37a78a176e59cf735894a14c54c76eb (patch) | |
tree | 6eb2d070f6b4a67b74ecff17912d71e48a8cdec7 | |
parent | 35f9e05ca5f302b498a6ae96ffa693eed65af0cb (diff) | |
download | drakx-817a42b9e37a78a176e59cf735894a14c54c76eb.tar drakx-817a42b9e37a78a176e59cf735894a14c54c76eb.tar.gz drakx-817a42b9e37a78a176e59cf735894a14c54c76eb.tar.bz2 drakx-817a42b9e37a78a176e59cf735894a14c54c76eb.tar.xz drakx-817a42b9e37a78a176e59cf735894a14c54c76eb.zip |
(write_passwd_user): fix setting "pw" field (for auto_installs)
-rw-r--r-- | perl-install/any.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 3fcc19916..4db66dbcd 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -790,7 +790,7 @@ sub selectLanguage { sub write_passwd_user { my ($prefix, $u, $isMD5) = @_; - local $u->{pw} = $u->{pw} || $u->{password} && &crypt($u->{password}, $isMD5); + $u->{pw} = &crypt($u->{password}, $isMD5) if $u->{password}; $u->{shell} ||= '/bin/bash'; substInFile { |