From 5d86dee62ba8a6746377eb1e716fab2f7033b37d Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 10 Jul 2022 17:36:36 +0800 Subject: [PATCH] up --- .gitignore | 3 +-- plugins/php-apt/versions/common/opcache.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 87c2c8527..0b3bf380e 100644 --- a/.gitignore +++ b/.gitignore @@ -104,8 +104,7 @@ venv.bak/ .DS_Store .idea/*.xml .idea/*.iml -tmp/*.pl -tmp/*.log +tmp/* *.swp *.zip scripts/init.d/mw diff --git a/plugins/php-apt/versions/common/opcache.sh b/plugins/php-apt/versions/common/opcache.sh index 75820c08a..28131a477 100755 --- a/plugins/php-apt/versions/common/opcache.sh +++ b/plugins/php-apt/versions/common/opcache.sh @@ -19,6 +19,6 @@ LIBNAME=opcache if [ "$actionType" == 'install' ];then apt install -y php${version}-${LIBNAME} elif [ "$actionType" == 'uninstall' ];then - echo 'cannot uninstall' + echo 'cannot uninstall'>&2 exit 1 fi \ No newline at end of file