From 1c928dbcf826b3cf5c84d7eb7d14fa6bb76f034e Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Mon, 19 Jun 2017 16:56:37 +0300 Subject: [PATCH] changes update trigger to install trigger --- src/rpm/specs/vesta-ioncube.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpm/specs/vesta-ioncube.spec b/src/rpm/specs/vesta-ioncube.spec index 235801360..d7846bc99 100644 --- a/src/rpm/specs/vesta-ioncube.spec +++ b/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