projects
/
openwrt
/
staging
/
mkresin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42cf760
)
don't display the "Image configuration" menu entry when there's nothing to pre-config...
author
Nicolas Thill
<nico@openwrt.org>
Fri, 22 Aug 2008 04:18:35 +0000
(
04:18
+0000)
committer
Nicolas Thill
<nico@openwrt.org>
Fri, 22 Aug 2008 04:18:35 +0000
(
04:18
+0000)
SVN-Revision: 12366
scripts/metadata.pl
patch
|
blob
|
history
diff --git
a/scripts/metadata.pl
b/scripts/metadata.pl
index d920f59fcaf60a5beccbe6b88c1c691b04088736..ce8092497830af264ce91d2324560999e93fdf5a 100755
(executable)
--- a/
scripts/metadata.pl
+++ b/
scripts/metadata.pl
@@
-472,7
+472,7
@@
sub print_package_config_category($) {
sub gen_package_config() {
parse_package_metadata($ARGV[0]) or exit 1;
- print "menuconfig UCI_PRECONFIG\n\tbool \"Image configuration\"\n";
+ print "menuconfig UCI_PRECONFIG\n\tbool \"Image configuration\"\n"
if %preconfig
;
foreach my $preconfig (keys %preconfig) {
foreach my $cfg (keys %{$preconfig{$preconfig}}) {
my $conf = $preconfig{$preconfig}->{$cfg}->{id};