summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-01-15 10:28:43 +0100
committerYorhel <git@yorhel.nl>2009-01-15 10:30:25 +0100
commit7fa831a278c6e0f8d42d44969b562c82ae717400 (patch)
tree09680d3aa3c8f275602bd5b2d47ea25dd414202e /util
parent11db922d4a29ea04220a6dac69ceb2af76b4e38d (diff)
Moving style.css to data/
Diffstat (limited to 'util')
-rwxr-xr-xutil/skingen.pl2
-rwxr-xr-xutil/vndb.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/skingen.pl b/util/skingen.pl
index d1ae65fe..e27ea4a1 100755
--- a/util/skingen.pl
+++ b/util/skingen.pl
@@ -77,7 +77,7 @@ sub writeskin { # $obj
$o->{_blendbg} = '#'.join '', map sprintf('%02x', $_*255), $img->GetPixel(x=>1,y=>1);
# write the CSS
- open my $CSS, '<', "$ROOT/data/skingen/style.css" or die $!;
+ open my $CSS, '<', "$ROOT/data/style.css" or die $!;
open my $SKIN, '>', "$ROOT/static/s/$o->{_name}/style.css" or die $!;
while((my $d = <$CSS>)) {
if($O{debug}) {
diff --git a/util/vndb.pl b/util/vndb.pl
index fef5a438..ca61836f 100755
--- a/util/vndb.pl
+++ b/util/vndb.pl
@@ -84,7 +84,7 @@ sub handle404 {
sub readskins {
my %skins; # dirname => skin name
my @regen;
- my $lasttemplate = [stat "$ROOT/data/skingen/style.css"]->[9];
+ my $lasttemplate = [stat "$ROOT/data/style.css"]->[9];
for my $f (glob "$ROOT/static/s/*") {
next if !-e "$f/conf";
my $n = $1 if $f =~ m{([^/]+)$};