--- loncom/build/lpml_parse.pl 2007/06/02 03:04:51 1.55 +++ loncom/build/lpml_parse.pl 2011/01/10 21:24:36 1.56 @@ -12,7 +12,7 @@ # The LearningOnline Network with CAPA # lpml_parse.pl - Linux Packaging Markup Language parser # -# $Id: lpml_parse.pl,v 1.55 2007/06/02 03:04:51 albertel Exp $ +# $Id: lpml_parse.pl,v 1.56 2011/01/10 21:24:36 raeburn Exp $ # # Written by Scott Harrison, codeharrison@yahoo.com # @@ -1266,7 +1266,8 @@ sub format_file { # "$build $status $dependencies" . # "\nEND FILE"); } - elsif ($mode eq 'install' && $categoryname ne 'conf') { + elsif (($mode eq 'install') && (($categoryname ne 'conf') && + ($categoryname ne 'www conf'))) { if ($build) { my $bi=$sourceroot.'/'.$source.';'.$build.';'. $dependencies; @@ -1335,7 +1336,8 @@ $buildtest \@if !(test -e "${sourceroot} fi END } - elsif ($mode eq 'configinstall' && $categoryname eq 'conf') { + elsif ($mode eq 'configinstall' && (($categoryname eq 'conf') || + ($categoryname eq 'www conf'))) { push @configall,$targetroot.'/'.$target; return $targetroot.'/'.$target.': alwaysrun'."\n". "\t".'@# Compare source with target and intelligently respond'.