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; |