summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-01-23 22:34:42 +0100
committerlpsolit%gmail.com <>2009-01-23 22:34:42 +0100
commite804a1482eeb8fd8339a22dac4e36a74396b1add (patch)
tree2e5589192e5808c9d61be78caa1a9bc82f909e10 /Bugzilla
parenta77cbd2028075fd0cb2acd7d60a113f7e5248e14 (diff)
downloadbugzilla-e804a1482eeb8fd8339a22dac4e36a74396b1add.tar.gz
bugzilla-e804a1482eeb8fd8339a22dac4e36a74396b1add.tar.xz
Bug 474881: checksetup.pl only creates custom CSS files on the second run - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Install/Filesystem.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/Bugzilla/Install/Filesystem.pm b/Bugzilla/Install/Filesystem.pm
index bf5ef8e61..17129b2ab 100644
--- a/Bugzilla/Install/Filesystem.pm
+++ b/Bugzilla/Install/Filesystem.pm
@@ -171,7 +171,7 @@ sub FILESYSTEM {
dirs => $ws_dir_readable },
js => { files => $ws_readable,
dirs => $ws_dir_readable },
- skins => { files => $ws_readable,
+ $skinsdir => { files => $ws_readable,
dirs => $ws_dir_readable },
t => { files => $owner_readable,
dirs => $owner_dir_readable },
@@ -201,8 +201,8 @@ sub FILESYSTEM {
$extensionsdir => $ws_dir_readable,
graphs => $ws_dir_writeable,
$webdotdir => $ws_dir_writeable,
- 'skins/custom' => $ws_dir_readable,
- 'skins/contrib' => $ws_dir_readable,
+ "$skinsdir/custom" => $ws_dir_readable,
+ "$skinsdir/contrib" => $ws_dir_readable,
);
# The name of each file, pointing at its default permissions and
@@ -213,7 +213,6 @@ sub FILESYSTEM {
# we create. Also, we create placeholders for standard stylesheets
# for contrib skins which don't provide them themselves.
foreach my $skin_dir ("$skinsdir/custom", <$skinsdir/contrib/*>) {
- next unless -d $skin_dir;
next if basename($skin_dir) =~ /^cvs$/i;
$create_dirs{"$skin_dir/yui"} = $ws_dir_readable;
foreach my $base_css (<$skinsdir/standard/*.css>) {