changes update trigger to install trigger

This commit is contained in:
Serghey Rodin 2017-06-19 16:56:37 +03:00
parent 0cf3f4db7c
commit 1c928dbcf8

View file

@ -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