浏览代码

changes update trigger to install trigger

Serghey Rodin 9 年之前
父节点
当前提交
1c928dbcf8
共有 1 个文件被更改,包括 1 次插入1 次删除
  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