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.
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
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