Package: adduser
Version: 3.84
Severity: normal

Hi,

in create_homedir, *.dpkg-* is hardcoded. I'd like to have that mask
at least configurable in a variable, or - better - from the config
file with a reasonable default.

Code in question:

      if ($config{"skel"} && $copy_skeleton) {
          printf gtx("Copying files from %s'\n"),$config{skel} if $verbose;
          open(FIND, "cd $config{skel}; find .  ! -name '*.dpkg-*' -print |")
              || &cleanup("fork for find: $!\n");
          while (<FIND>) {
              chop;
              next if ($_ eq ".");
              next if ($_ =~ /\.dpkg-/);
              &copy_to_dir($config{"skel"}, $_, $home_dir, $new_uid,
                            $new_gid, ($config{"setgid_home"} =~ /yes/i));
          }
      }

*UGH*

Greetings
Marc


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to