summaryrefslogtreecommitdiff
path: root/cmake/preInstall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/preInstall.sh')
-rw-r--r--cmake/preInstall.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/preInstall.sh b/cmake/preInstall.sh
index 3ec1f37..765e889 100644
--- a/cmake/preInstall.sh
+++ b/cmake/preInstall.sh
@@ -1,9 +1,12 @@
#!/bin/sh
DST=${RPM_INSTALL_PREFIX}
+
mkdir -p ${DST}/plug/protocol/
touch ${DST}/plug/conflist.inf
+
mkdir ${DST}/etc/
touch ${DST}/etc/entrylist.conf
+
if [[ -z `grep -rn 'quic.inf' ${DST}/plug/conflist.inf` ]];then
sed -i '/\[protocol\]/a\./plug/protocol/quic/quic.inf' ${DST}/plug/conflist.inf
fi