diff -Nur -x '*.orig' -x '*.rej' smeserver-gollem-1.0/root/etc/e-smith/templates/home/httpd/html/horde/gollem/config/conf.php/120MenuSettings mezzanine_patched_smeserver-gollem-1.0/root/etc/e-smith/templates/home/httpd/html/horde/gollem/config/conf.php/120MenuSettings --- smeserver-gollem-1.0/root/etc/e-smith/templates/home/httpd/html/horde/gollem/config/conf.php/120MenuSettings 2006-02-23 15:31:35.000000000 -0600 +++ mezzanine_patched_smeserver-gollem-1.0/root/etc/e-smith/templates/home/httpd/html/horde/gollem/config/conf.php/120MenuSettings 2006-03-22 19:32:41.000000000 -0600 @@ -1,27 +1,3 @@ //120MenuSettings -{ -$OUT = '$conf[\'menu\'][\'apps\'] = array('; +include '/home/httpd/html/horde/conf.menu.apps.php'; -use esmith::ConfigDB; -my $c = esmith::ConfigDB->open_ro; - -my $record = $c->get('horde'); - -foreach $component (qw/ accounts agora chora forwards genie giapeta goops gollem hermes ingo imp - jeta jonah juno kronolith klutz luxor merk midas mimp mnemo mottle nag occam orator passwd - rakim sam scry sork swoosh trean thor troll turba vacation ulaform vilma whups wicked /) { - - my $status = $record->prop($component); - - if (!defined ($status)) { - $status = ''; - } - - if ($status eq 'installed') { - $OUT .= '\'' . $component . '\', ' - } -} - -$OUT = substr($OUT, 0, length($OUT) - 2) . ");\n"; - -}