summaryrefslogtreecommitdiff
path: root/libraries/perl-xml-sax/doinst.sh
diff options
context:
space:
mode:
authorMurat D. Kadirov <banderols@gmail.com>2010-05-11 22:54:23 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:54:23 +0200
commit87d2d5808544483825fef742fdac194bd01e7b59 (patch)
treebdbdbed31f5b0eca4fddc4ac4f83dca65f81fe70 /libraries/perl-xml-sax/doinst.sh
parenta92a2c5f2ab7093cca695f50490d48d81d1d9559 (diff)
downloadslackbuilds-87d2d5808544483825fef742fdac194bd01e7b59.tar.gz
libraries/perl-xml-sax: Added to 12.1 repository
Diffstat (limited to 'libraries/perl-xml-sax/doinst.sh')
-rw-r--r--libraries/perl-xml-sax/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/libraries/perl-xml-sax/doinst.sh b/libraries/perl-xml-sax/doinst.sh
new file mode 100644
index 0000000000..2d251b50e7
--- /dev/null
+++ b/libraries/perl-xml-sax/doinst.sh
@@ -0,0 +1,7 @@
+if [ -f usr/lib/perl5/site_perl/5.8.8/XML/SAX/ParserDetails.ini ]; then
+ echo "ParserDetails.ini file already installed.";
+else
+ perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()"
+ echo "Creating ParserDetails.ini..."
+fi
+