summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-09-29 05:05:40 +0000
committerfukachan <fukachan>2004-09-29 05:05:40 +0000
commit75e2418e8563a89ea3c37bf9d4ba3e4e6a8ada38 (patch)
treee951cd2a1fe30811aad045f200f453317a13b913
parentff3ae30133acd7988a4b1d7b9ef9a9987a0ca5f0 (diff)
downloadfml8-75e2418e8563a89ea3c37bf9d4ba3e4e6a8ada38.tar.gz
fml8-75e2418e8563a89ea3c37bf9d4ba3e4e6a8ada38.tar.bz2
fml8-75e2418e8563a89ea3c37bf9d4ba3e4e6a8ada38.zip
set up $group_writable_config_dir.
-rw-r--r--fml/lib/FML/Install.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/fml/lib/FML/Install.pm b/fml/lib/FML/Install.pm
index 9f3c8227..99e97b8c 100644
--- a/fml/lib/FML/Install.pm
+++ b/fml/lib/FML/Install.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Install.pm,v 1.15 2004/07/23 15:59:00 fukachan Exp $
+# $FML: Install.pm,v 1.16 2004/07/27 15:47:39 fukachan Exp $
#
package FML::Install;
@@ -282,6 +282,11 @@ sub install_sample_cf_files
$self->convert($src, $dst, 0644);
}
}
+
+ my $gw_config_dir = $config->get( 'group_writable_config_dir' );
+ if (-d $gw_config_dir) {
+ chmod 0775, $gw_config_dir;
+ }
}