1 |
vip-ire |
1.1 |
--- smeserver-ocsinventory-0.1/root/etc/e-smith/events/actions/ocs-conf.perl_version 2008-09-11 13:57:02.000000000 +0200 |
2 |
|
|
+++ smeserver-ocsinventory-0.1/root/etc/e-smith/events/actions/ocs-conf 2009-03-25 13:41:52.000000000 +0100 |
3 |
|
|
@@ -1,11 +1,9 @@ |
4 |
|
|
#!/bin/bash |
5 |
|
|
|
6 |
|
|
# Fixing XML::SAX ParserDetails.ini |
7 |
|
|
-if [ ! -e /usr/lib/perl5/vendor_perl/5.8.5/XML/SAX/ParserDetails.ini ]; then |
8 |
|
|
- touch /usr/lib/perl5/vendor_perl/5.8.5/XML/SAX/ParserDetails.ini |
9 |
|
|
- chmod 444 /usr/lib/perl5/vendor_perl/5.8.5/XML/SAX/ParserDetails.ini |
10 |
|
|
- perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" |
11 |
|
|
-fi |
12 |
|
|
+touch /usr/lib/perl5/vendor_perl/*/XML/SAX/ParserDetails.ini |
13 |
|
|
+chmod 444 /usr/lib/perl5/vendor_perl/*/XML/SAX/ParserDetails.ini |
14 |
|
|
+perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" |
15 |
|
|
|
16 |
|
|
DOMAIN=$(/sbin/e-smith/db configuration get DomainName) |
17 |
|
|
SRVNAME=$(/sbin/e-smith/db configuration get SystemName) |