Procházet zdrojové kódy

changes update trigger to install trigger

Serghey Rodin před 8 roky
rodič
revize
1c928dbcf8
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/rpm/specs/vesta-ioncube.spec

+ 1 - 1
src/rpm/specs/vesta-ioncube.spec

@@ -29,7 +29,7 @@ install -d  %{buildroot}%{_vestadir}
 rm -rf %{buildroot}
 
 %post
-if [ $1 -ge 2 ]; then
+if [ $1 -eq 1 ]; then
     if [ -e /usr/local/vesta/ioncube/add_ioncube.sh ]; then
         /usr/local/vesta/ioncube/add_ioncube.sh
     fi