slackbuilds_ponce/perl/mod_perl/doinst.sh
Willy Sudiarto Raharjo 5afe071b98
perl/mod_perl: Added (Perl Interpreter for Apache).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2016-07-30 08:28:31 +07:00

5 lines
275 B
Bash

if [ ! -r etc/httpd/extra/mod_perl.conf ]; then
cat etc/httpd/extra/mod_perl.conf.example > etc/httpd/extra/mod_perl.conf
elif [ "$(cat etc/httpd/extra/mod_perl.conf 2> /dev/null)" = "" ]; then
cat etc/httpd/extra/mod_perl.conf.example > etc/httpd/extra/mod_perl.conf
fi