Explorar o código

changed default action name from install to add

Serghey Rodin %!s(int64=8) %!d(string=hai) anos
pai
achega
0c49373f01
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/rpm/conf/ioncube.sh

+ 1 - 1
src/rpm/conf/ioncube.sh

@@ -13,7 +13,7 @@ if [ ! -e "$VESTA/ioncube/$ioncube" ]; then
     exit
     exit
 fi
 fi
 
 
-if [ "$action" = 'install' ]; then
+if [ "$action" = 'add' ]; then
     if [ -z "$(grep $ioncube $php |grep -v ';')" ]; then
     if [ -z "$(grep $ioncube $php |grep -v ';')" ]; then
         echo "zend_extension = '$VESTA/ioncube/$ioncube'" >> $php
         echo "zend_extension = '$VESTA/ioncube/$ioncube'" >> $php
         /etc/init.d/vesta restart
         /etc/init.d/vesta restart