소스 검색

Update ioncube.sh

FusionPBX 6 년 전
부모
커밋
04c0ab1b04
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      debian/resources/ioncube.sh

+ 5 - 0
debian/resources/ioncube.sh

@@ -20,6 +20,11 @@ unzip ioncube_loaders_lin_x86-64.zip
 #remove the zip file
 rm ioncube_loaders_lin_x86-64.zip
 
+#remove the ioncube directory if it exists
+if [ -d "ioncube" ]; then
+        rm -Rf ioncube
+fi
+
 #copy the loader to the correct directory
 if [ ."$php_version" = ."5.6" ]; then
         #copy the php extension .so into the php lib directory