소스 검색

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