Remove line from setup-head.sh to enable TPAC
authorAndy Witter <awitter@georgialibraries.org>
Tue, 4 Nov 2014 20:52:04 +0000 (15:52 -0500)
committerAndy Witter <awitter@georgialibraries.org>
Tue, 4 Nov 2014 20:52:04 +0000 (15:52 -0500)
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.

templates/setup-head.sh

index 9b2655f..ae0926d 100755 (executable)
@@ -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^#</LocationMatch>^</LocationMatch>^g' /etc/apache2/eg_vhost.conf
-       sed -i 's^#    #PerlSetVar OILSRedirectTpac "true"^    PerlSetVar OILSRedirectTpac "true"^g' /etc/apache2/eg_vhost.conf
 fi
 
 ### Setup Novelist