diff options
| author | liuxueli <[email protected]> | 2020-07-01 09:37:17 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2020-07-01 09:37:17 +0800 |
| commit | 954fcdbb2cd99af11cbcd40aa005f81bc0d58a1b (patch) | |
| tree | 630c1d8661f992860ea39c62e758710f003a27bb | |
| parent | 7543d9fbc0e9012bc8b0104ee44620e13f8df8c8 (diff) | |
添加preUninstall.sh文件v1.0.2
| -rw-r--r-- | cmake/preUninstall.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/preUninstall.sh b/cmake/preUninstall.sh new file mode 100644 index 0000000..efc4ab1 --- /dev/null +++ b/cmake/preUninstall.sh @@ -0,0 +1,10 @@ +#!/bin/sh +if [ $1 == 0 ]; then + DST=${RPM_INSTALL_PREFIX} + + mkdir -p ${DST}/plug/protocol/ + touch ${DST}/plug/conflist.inf + + sed -i '/ssl.inf/d' ${DST}/plug/conflist.inf + sed -i '/SSL/d' ${DST}/etc/entrylist.conf +fi |
