diff options
| author | lijia <[email protected]> | 2024-06-24 18:37:07 +0800 |
|---|---|---|
| committer | lijia <[email protected]> | 2024-06-25 11:14:35 +0800 |
| commit | fba00d59cbae937b0132507c2b82ecb8da36b57b (patch) | |
| tree | 53d77ae8db6db8a247d4c9604cd015fff09e4110 /cmake/preInstall.sh | |
| parent | 82cd2ced07a3c3d893d44943259c40dd6b269374 (diff) | |
feat: add history and lastest different version test stage; decoder result use struct iovec.dev-2.0
Diffstat (limited to 'cmake/preInstall.sh')
| -rw-r--r-- | cmake/preInstall.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cmake/preInstall.sh b/cmake/preInstall.sh index d060bc9..be8feb2 100644 --- a/cmake/preInstall.sh +++ b/cmake/preInstall.sh @@ -13,3 +13,20 @@ fi if [[ -z `grep -rn 'QUIC' ${DST}/etc/entrylist.conf` ]];then echo "QUIC" >> ${DST}/etc/entrylist.conf fi + + +DST=${RPM_INSTALL_PREFIX}/sapp/ + +mkdir -p ${DST}/stellar_plugin +touch ${DST}/stellar_plugin/spec.toml + +if ! grep -q '^\./plug/stellar_plugin/quic.so' "${DST}/stellar_plugin/spec.toml"; then + echo -e "\n" >> "${DST}/stellar_plugin/spec.toml" + echo -e "[[plugin]]" >> "${DST}/stellar_plugin/spec.toml" + echo -e "path = \"./stellar_plugin/quic/quic.so\"" >> "${DST}/stellar_plugin/spec.toml" + echo -e "init = \"QUIC_ONLOAD\"" >> "${DST}/stellar_plugin/spec.toml" + echo -e "exit = \"QUIC_UNLOAD\"" >> "${DST}/stellar_plugin/spec.toml" + echo -e "\n" >> "${DST}/stellar_plugin/spec.toml" +fi + + |
