# HG changeset patch # User Matthias Förste # Date 1309930921 -7200 # Node ID f395a912407ac2d707dcdc43a0fbf91ac35e5320 # Parent 64e38b554da39e7799a04e0fec11154e9e3d8674 removed warning trigger; doc fix diff -r 64e38b554da3 -r f395a912407a lib/Ius/Dav/Htpasswd.pm --- a/lib/Ius/Dav/Htpasswd.pm Wed Jul 06 07:23:34 2011 +0200 +++ b/lib/Ius/Dav/Htpasswd.pm Wed Jul 06 07:42:01 2011 +0200 @@ -160,7 +160,7 @@ my $user_dir = "$conf->{dav_base}/$user"; my $err; rmtree($user_dir, error => $err) - or $rc = -1 and warn "Errors occurred during rmtree '$user_dir': ", @{$err}; + or $rc = -1 and defined $err and warn "Errors occurred during rmtree '$user_dir': ", @{$err}; my $htpasswd_file = $conf->{htpasswd}; my $htpasswd = new Apache::Htpasswd $htpasswd_file; @@ -210,8 +210,8 @@ Add an at job to remove the user later. Make a directory for the user. Chown that directory to the webserver user and group. Add the user to an htpasswd file. Place a config snippet for the users directory inside a directory (which -is included from the apache config, other webservers may also work). Reload -apache (or maybe restart is required). +is included from the apache config). Reload apache (or maybe restart is +required). =head2 dav-useradd.cgi @@ -256,7 +256,7 @@ =head1 REQUIRES -at from the 'at' job scheduler package. +at from the 'at' job scheduler package. Several perl modules (should be installed automatically). =head1 AUTHOR