diff options
| author | 李佳 <[email protected]> | 2024-07-10 06:58:33 +0000 |
|---|---|---|
| committer | lijia <[email protected]> | 2024-07-11 11:23:10 +0800 |
| commit | 4782225f29b6f80ee023297d0a0726c6c798e3d7 (patch) | |
| tree | 35e385984c8312daf1de3f479af5523928626f54 /cmake/preUninstall.sh | |
Initial commitv1.0.1
Diffstat (limited to 'cmake/preUninstall.sh')
| -rw-r--r-- | cmake/preUninstall.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/preUninstall.sh b/cmake/preUninstall.sh new file mode 100644 index 0000000..bda4668 --- /dev/null +++ b/cmake/preUninstall.sh @@ -0,0 +1,6 @@ +if [ $1 == 0 ]; then + DST=${RPM_INSTALL_PREFIX}/sapp/stellar_plugin + sed -i -n '$!N;/quic_decoder.so/!P;D' ${DST}/spec.toml + sed -i '/QUIC_ONLOAD/d' ${DST}/spec.toml + sed -i '/QUIC_UNLOAD/d' ${DST}/spec.toml +fi |
