Преглед изворни кода

changed default action name from install to add

Serghey Rodin пре 8 година
родитељ
комит
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