mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Initial stab at theme support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7952 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8719f0913a
commit
3b5449f303
5 changed files with 16 additions and 2 deletions
|
@ -90,6 +90,7 @@ sub mkdirs {
|
|||
my $wpsdir = $wps;
|
||||
$wpsdir =~ s/\.(r|)wps//;
|
||||
mkdir ".rockbox/wps", 0777;
|
||||
mkdir ".rockbox/theme", 0777;
|
||||
|
||||
if( -d ".rockbox/wps/$wpsdir") {
|
||||
#print STDERR "wpsbuild warning: directory wps/$wpsdir already exists!\n";
|
||||
|
@ -139,7 +140,7 @@ MOO
|
|||
if($statusbar) {
|
||||
push @out, "statusbar: $statusbar\n";
|
||||
}
|
||||
if($rwps) {
|
||||
if($rwps && $isrwps) {
|
||||
push @out, "rwps: /.rockbox/wps/$rwps\n";
|
||||
}
|
||||
|
||||
|
@ -147,7 +148,7 @@ MOO
|
|||
print STDERR "wpsbuild warning: wps/$cfg already exists!\n";
|
||||
}
|
||||
else {
|
||||
open(CFG, ">.rockbox/wps/$cfg");
|
||||
open(CFG, ">.rockbox/theme/$cfg");
|
||||
print CFG @out;
|
||||
close(CFG);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue