From: Andy Witter Date: Tue, 4 Nov 2014 20:52:04 +0000 (-0500) Subject: Remove line from setup-head.sh to enable TPAC X-Git-Tag: GenaSYS-2.7.1a~2 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=90ad57ce5cf01b02eb08382b56a4000e6f81b357;p=contrib%2Fpines%2Fgenasys.git Remove line from setup-head.sh to enable TPAC This line is no longer needed becuase TPAC is the default OPAC and has been for many versions now. It wasn't doing any harm, but after auditing all of the replacements in this block, we decided to remove it. --- diff --git a/templates/setup-head.sh b/templates/setup-head.sh index 9b2655f..ae0926d 100755 --- a/templates/setup-head.sh +++ b/templates/setup-head.sh @@ -286,7 +286,6 @@ then sleep 1 cp -f lib_ips.txt /openils/conf chown opensrf:opensrf /openils/conf/lib_ips.txt - ###TODO VERIFY THE BLOCK BELOW IS STILL NEEDED. some lines are deprecated. sed -i 's^#OpenILS::WWW::Redirect^OpenILS::WWW::Redirect^g' /etc/apache2/eg_startup sed -i 's^#use OpenILS::WWW::Redirect^use OpenILS::WWW::Redirect^g' /etc/apache2/eg_startup sed -i 's+RedirectMatch 301 ^/$ /eg/opac/home+#RedirectMatch 301 ^/$ /eg/opac/home+g' /etc/apache2/eg_vhost.conf @@ -297,7 +296,6 @@ then sed -i 's^# PerlSendHeader On^ PerlSendHeader On^g' /etc/apache2/eg_vhost.conf sed -i 's^# allow from all^ allow from all^g' /etc/apache2/eg_vhost.conf sed -i 's^#^^g' /etc/apache2/eg_vhost.conf - sed -i 's^# #PerlSetVar OILSRedirectTpac "true"^ PerlSetVar OILSRedirectTpac "true"^g' /etc/apache2/eg_vhost.conf fi ### Setup Novelist