parent
d7ad37bc9e
commit
2e9a859a07
|
@ -168,29 +168,29 @@ EOF
|
||||||
alternc.install
|
alternc.install
|
||||||
|
|
||||||
if [ -x /usr/sbin/apache ]; then
|
if [ -x /usr/sbin/apache ]; then
|
||||||
if [ ! -h /etc/apache-ssl/conf.d/alternc.conf ]; then
|
if [ ! -h /etc/apache-ssl/conf.d/alternc.conf ] && [ -e /etc/apache-ssl/conf.d/ ]; then
|
||||||
ln -sf /etc/alternc/apache-ssl.conf \
|
ln -sf /etc/alternc/apache-ssl.conf \
|
||||||
/etc/apache-ssl/conf.d/alternc.conf
|
/etc/apache-ssl/conf.d/alternc.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -h /etc/apache/conf.d/alternc.conf ]; then
|
if [ ! -h /etc/apache/conf.d/alternc.conf ] && [ -e /etc/apache/conf.d/ ]; then
|
||||||
ln -sf /etc/alternc/apache.conf \
|
ln -sf /etc/alternc/apache.conf \
|
||||||
/etc/apache/conf.d/alternc.conf
|
/etc/apache/conf.d/alternc.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -h /etc/apache/conf.d/override_php.conf ]; then
|
if [ ! -h /etc/apache/conf.d/override_php.conf ] && [ -e /etc/apache/conf.d/ ]; then
|
||||||
ln -sf /var/alternc/apacheconf/override_php.conf \
|
ln -sf /var/alternc/apacheconf/override_php.conf \
|
||||||
/etc/apache/conf.d/override_php.conf
|
/etc/apache/conf.d/override_php.conf
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ -x /usr/sbin/apache2 ]; then
|
if [ -x /usr/sbin/apache2 ]; then
|
||||||
if [ ! -h /etc/apache2/conf.d/alternc.conf ]; then
|
if [ ! -h /etc/apache2/conf.d/alternc.conf ] && [ -e /etc/apache2/conf.d/ ]; then
|
||||||
ln -sf /etc/alternc/apache.conf \
|
ln -sf /etc/alternc/apache.conf \
|
||||||
/etc/apache/conf.d/alternc.conf
|
/etc/apache2/conf.d/alternc.conf
|
||||||
fi
|
fi
|
||||||
if [ ! -h /etc/apache2/conf.d/override_php.conf ]; then
|
if [ ! -h /etc/apache2/conf.d/override_php.conf ] && [ -e /etc/apache2/conf.d/ ]; then
|
||||||
ln -sf /var/alternc/apacheconf/override_php.conf \
|
ln -sf /var/alternc/apacheconf/override_php.conf \
|
||||||
/etc/apache/conf.d/override_php.conf
|
/etc/apache2/conf.d/override_php.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -200,29 +200,29 @@ EOF
|
||||||
/usr/lib/alternc/basedir_prot.sh
|
/usr/lib/alternc/basedir_prot.sh
|
||||||
|
|
||||||
if [ -x /usr/sbin/apache ]; then
|
if [ -x /usr/sbin/apache ]; then
|
||||||
if [ ! -h /etc/apache-ssl/conf.d/alternc.conf ]; then
|
if [ ! -h /etc/apache-ssl/conf.d/alternc.conf ] && [ -e /etc/apache-ssl/conf.d/ ]; then
|
||||||
ln -sf /etc/alternc/apache-ssl.conf \
|
ln -sf /etc/alternc/apache-ssl.conf \
|
||||||
/etc/apache-ssl/conf.d/alternc.conf
|
/etc/apache-ssl/conf.d/alternc.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -h /etc/apache/conf.d/alternc.conf ]; then
|
if [ ! -h /etc/apache/conf.d/alternc.conf ] && [ -e /etc/apache/conf.d/ ]; then
|
||||||
ln -sf /etc/alternc/apache.conf \
|
ln -sf /etc/alternc/apache.conf \
|
||||||
/etc/apache/conf.d/alternc.conf
|
/etc/apache/conf.d/alternc.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -h /etc/apache/conf.d/override_php.conf ]; then
|
if [ ! -h /etc/apache/conf.d/override_php.conf ] && [ -e /etc/apache/conf.d/ ]; then
|
||||||
ln -sf /var/alternc/apacheconf/override_php.conf \
|
ln -sf /var/alternc/apacheconf/override_php.conf \
|
||||||
/etc/apache/conf.d/override_php.conf
|
/etc/apache/conf.d/override_php.conf
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ -x /usr/sbin/apache2 ]; then
|
if [ -x /usr/sbin/apache2 ]; then
|
||||||
if [ ! -h /etc/apache2/conf.d/alternc.conf ]; then
|
if [ ! -h /etc/apache2/conf.d/alternc.conf ] && [ -e /etc/apache2/conf.d/ ]; then
|
||||||
ln -sf /etc/alternc/apache.conf \
|
ln -sf /etc/alternc/apache.conf \
|
||||||
/etc/apache/conf.d/alternc.conf
|
/etc/apache2/conf.d/alternc.conf
|
||||||
fi
|
fi
|
||||||
if [ ! -h /etc/apache2/conf.d/override_php.conf ]; then
|
if [ ! -h /etc/apache2/conf.d/override_php.conf ] && [ -e /etc/apache2/conf.d/ ]; then
|
||||||
ln -sf /var/alternc/apacheconf/override_php.conf \
|
ln -sf /var/alternc/apacheconf/override_php.conf \
|
||||||
/etc/apache/conf.d/override_php.conf
|
/etc/apache2/conf.d/override_php.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue