/[smeserver]/rpms/e-smith-manager/sme7/e-smith-manager-1.14.0-navdbfix.patch
ViewVC logotype

Contents of /rpms/e-smith-manager/sme7/e-smith-manager-1.14.0-navdbfix.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Mar 31 20:27:28 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-manager-1_14_0-17_el4_sme, e-smith-manager-1_14_0-16_el4_sme, e-smith-manager-1_14_0-20_el4_sme, e-smith-manager-1_14_0-19_el4_sme, e-smith-manager-1_14_0-18_el4_sme
* Mon Mar 31 2008 Shad L. Lords <slords@mail.com> 1.14.0-16
- Remove navigation dbs and create new [SME: 4147]

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-manager-1.14.0/root/etc/e-smith/events/actions/navigation-conf mezzanine_patched_e-smith-manager-1.14.0/root/etc/e-smith/events/actions/navigation-conf
2 --- e-smith-manager-1.14.0/root/etc/e-smith/events/actions/navigation-conf 2008-03-31 14:26:04.000000000 -0600
3 +++ mezzanine_patched_e-smith-manager-1.14.0/root/etc/e-smith/events/actions/navigation-conf 2008-03-31 14:26:00.000000000 -0600
4 @@ -81,7 +81,7 @@
5 #warn "updating script $file for lang $lang\n";
6 my $navdb = $navdbs{$lang};
7 my $navinfo = NAVIGATIONDIR . "/navigation.$lang";
8 - $navdb ||= esmith::ConfigDB->open($navinfo);
9 + unlink $navinfo unless $navdb;
10 $navdb ||= esmith::ConfigDB->create($navinfo) or
11 die "Couldn't create $navinfo\n";
12 $navdbs{$lang} ||= $navdb;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed