This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
stellar-ssl-decoder/cmake/preUninstall.sh
2024-08-05 10:04:16 +00:00

14 lines
274 B
Bash

#!/bin/sh
if [ $1 == 0 ]; then
DST=${RPM_INSTALL_PREFIX}
mkdir -p ${DST}/plug/protocol/
touch ${DST}/plug/conflist.inf
mkdir -p ${DST}/etc/
touch ${DST}/etc/entrylist.conf
sed -i '/ssl.inf/d' ${DST}/plug/conflist.inf
sed -i '/ssl/d' ${DST}/etc/entrylist.conf
fi