- spaces -> tabs
authorankry <ankry@pld-linux.org>
Fri, 22 Aug 2003 15:33:14 +0000 (15:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ZendGuardLoader.spec -> 1.11

ZendGuardLoader.spec

index 1cc27e8..dea83b5 100644 (file)
@@ -33,24 +33,23 @@ rm -rf $RPM_BUILD_ROOT
 
 %preun
 if [ -f /etc/php/php.ini ]; then
-        echo "deactivating module 'ZendOptimizer.so' in php.ini" 1>&2
-   perl -pi -e 's|^zend_optimizer.optimization_level|;zend_optimizer.optimization_level|g' \
-   /etc/php/php.ini
-   perl -pi -e 's|^zend_extension=/usr/lib/apache/php/ZendOptimizer.so"|;zend_extension="/usr/lib/apache/php/ZendOptimizer.so"|g' \
-   /etc/php/php.ini
-
+       echo "deactivating module 'ZendOptimizer.so' in php.ini" 1>&2
+       perl -pi -e 's|^zend_optimizer.optimization_level|;zend_optimizer.optimization_level|g' \
+               /etc/php/php.ini
+       perl -pi -e 's|^zend_extension=/usr/lib/apache/php/ZendOptimizer.so"|;zend_extension="/usr/lib/apache/php/ZendOptimizer.so"|g' \
+               /etc/php/php.ini
 fi
 
 %post
 if [ -f /etc/php/php.ini ]; then
-        echo "activating module 'ZendOptimizer.so' in php.ini" 1>&2
-   perl -pi -e 's|^;zend_optimizer.optimization_level|zend_optimizer.optimization_level|g' \
-   /etc/php/php.ini
-   perl -pi -e 's|^;zend_extension="/usr/lib/apache/php/ZendOptimizer.so"|zend_extension="/usr/lib/apache/php/ZendOptimizer.so"|g' \
-   /etc/php/php.ini
+       echo "activating module 'ZendOptimizer.so' in php.ini" 1>&2
+       perl -pi -e 's|^;zend_optimizer.optimization_level|zend_optimizer.optimization_level|g' \
+               /etc/php/php.ini
+       perl -pi -e 's|^;zend_extension="/usr/lib/apache/php/ZendOptimizer.so"|zend_extension="/usr/lib/apache/php/ZendOptimizer.so"|g' \
+               /etc/php/php.ini
 fi
 if [ -f /var/lock/subsys/httpd ]; then
-        /etc/rc.d/init.d/httpd restart 1>&2
+       /etc/rc.d/init.d/httpd restart 1>&2
 fi
 echo "Remember:Read the /usr/share/doc/ZendOptimizer-%{version}/LICENSE.gz!"
 
This page took 0.090999 seconds and 4 git commands to generate.