Просмотр исходного кода

changed default action name from install to add

Serghey Rodin 8 лет назад
Родитель
Сommit
0c49373f01
1 измененных файлов с 1 добавлено и 1 удалено
  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
 fi
 
-if [ "$action" = 'install' ]; then
+if [ "$action" = 'add' ]; then
     if [ -z "$(grep $ioncube $php |grep -v ';')" ]; then
         echo "zend_extension = '$VESTA/ioncube/$ioncube'" >> $php
         /etc/init.d/vesta restart