Browse Source

mnemosyne.pl: Changed to _always_ source FEATURE.conf, passing "" when the deps are not met

legacy/next/gcc
Alejandro Mery 12 years ago
parent
commit
48d56b999d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mnemosyne.pl

+ 2
- 2
mnemosyne.pl

@ -319,8 +319,8 @@ sub render_widgets_folder {
print "${offset}if \[ -n \"\$$var\" \]; then\n";
print "${offset}\tchoice $var \$$defaultvar \$$listvar\n";
print "${offset}\t. $conffile \"$var\" \"\$$var\" \n" if $conffile;
print "${offset}fi\n";
print "${offset}. $conffile \"$var\" \"\$$var\" \n" if $conffile;
} elsif ($module->{kind} == ASK) {
# ASK
@ -329,8 +329,8 @@ sub render_widgets_folder {
print "${offset}if \[ -n \"\$$var\" \]; then\n";
print "${offset}\tbool '$module->{desc}' $module->{var} $default\n";
print "${offset}\t. $conffile \"$var\" \"\$$var\" \n" if $conffile;
print "${offset}fi\n";
print "${offset}. $conffile \"$var\" \"\$$var\" \n" if $conffile;
} elsif ($conffile) {
# ALL, only if $conffile
print "${offset}. $conffile \"$var\" \"\$$var\" \n";

Loading…
Cancel
Save