diff options
| author | liuxueli <[email protected]> | 2020-10-12 14:21:10 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2020-10-12 14:21:10 +0800 |
| commit | eaaf647f116b024f28860f30431fbc303ff81e35 (patch) | |
| tree | 7afa65d76661028197b115a71fd82d58c94dc0b3 /cmake/preUninstall.sh | |
| parent | 324cedb28a2558be9c5e80eb76fb9e703b669967 (diff) | |
增加changelog;编译时增加ASAN选项;生成二进制版本号;上传debuginfo至sentry
Diffstat (limited to 'cmake/preUninstall.sh')
| -rw-r--r-- | cmake/preUninstall.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cmake/preUninstall.sh b/cmake/preUninstall.sh new file mode 100644 index 0000000..decc015 --- /dev/null +++ b/cmake/preUninstall.sh @@ -0,0 +1,12 @@ +#!/bin/sh +if [ $1 == 0 ]; then + CONFILE=conf/radius/radius.conf + DST=${RPM_INSTALL_PREFIX} + + mkdir -p ${DST}/plug/business/ + touch ${DST}/plug/conflist.inf + touch ${DST}/${CONFILE} + + sed -i '/fw_mail_plug.inf/d' ${DST}/plug/conflist.inf + sed -i '/\[RADIUS_PLUG\]/,+7d' ${DST}/${CONFILE} +fi |
