Setting home by default also for multi-user creation.
authorDaniel Baumann <daniel@debian.org>
Thu, 31 Jan 2013 06:11:13 +0000 (07:11 +0100)
committerDaniel Baumann <daniel@debian.org>
Thu, 31 Jan 2013 06:32:44 +0000 (07:32 +0100)
scripts/debconfig/0010-passwd

index af7908e..56b26e0 100755 (executable)
@@ -289,7 +289,7 @@ do
 
        if db_get live-debconfig/passwd/user${_NUMBER}-home
        then
-               eval _USER${_NUMBER}_HOME="\"${RET}\"" # string (w/ empty)
+               eval _USER${_NUMBER}_HOME="\"${RET:-/home/${_USER_NAME}}\"" # string (w/o empty)
 
                db_fset live-debconfig/passwd/user${_NUMBER}-home seen false
                db_set live-debconfig/passwd/user${_NUMBER}-home ""