Ticket #1017: apache2_postinst.patch
| File apache2_postinst.patch, 1.7 kB (added by anonyme, 6 months ago) |
|---|
-
debian/postinst
old new 172 173 alternc.install 173 174 174 175 if [ -x /usr/sbin/apache ]; then 175 if [ ! -h /etc/apache-ssl/conf.d/alternc.conf ] ; then176 if [ ! -h /etc/apache-ssl/conf.d/alternc.conf ] && [ -e /etc/apache-ssl/conf.d/ ]; then 176 177 ln -sf /etc/alternc/apache-ssl.conf \ 177 178 /etc/apache-ssl/conf.d/alternc.conf 178 179 fi 179 180 180 if [ ! -h /etc/apache/conf.d/alternc.conf ] ; then181 if [ ! -h /etc/apache/conf.d/alternc.conf ] && [ -e /etc/apache/conf.d/ ]; then 181 182 ln -sf /etc/alternc/apache.conf \ 182 183 /etc/apache/conf.d/alternc.conf 183 184 fi 184 185 185 if [ ! -h /etc/apache/conf.d/override_php.conf ] ; then186 if [ ! -h /etc/apache/conf.d/override_php.conf ] && [ -e /etc/apache/conf.d/ ]; then 186 187 ln -sf /var/alternc/apacheconf/override_php.conf \ 187 188 /etc/apache/conf.d/override_php.conf 188 189 fi 189 190 fi 190 191 if [ -x /usr/sbin/apache2 ]; then 191 if [ ! -h /etc/apache2/conf.d/alternc.conf ] ; then192 if [ ! -h /etc/apache2/conf.d/alternc.conf ] && [ -e /etc/apache2/conf.d/ ]; then 192 193 ln -sf /etc/alternc/apache.conf \ 193 /etc/apache /conf.d/alternc.conf194 /etc/apache2/conf.d/alternc.conf 194 195 fi 195 if [ ! -h /etc/apache2/conf.d/override_php.conf ] ; then196 if [ ! -h /etc/apache2/conf.d/override_php.conf ] && [ -e /etc/apache2/conf.d/ ]; then 196 197 ln -sf /var/alternc/apacheconf/override_php.conf \ 197 /etc/apache /conf.d/override_php.conf198 /etc/apache2/conf.d/override_php.conf 198 199 fi 199 200 200 201 fi
