summaryrefslogtreecommitdiff
path: root/cmake/preUninstall.sh
blob: 377a0f5cc1053a248c893b7f0a75eb4c971375ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
if [ $1 == 0 ]; then
	DST=${RPM_INSTALL_PREFIX}
	mkdir -p ${DST}/plug/business/
	touch ${DST}/plug/conflist.inf
	
	mkdir -p ${DST}/etc/
	touch ${DST}/etc/entrylist.conf

	if [[ -f ${DST}/plug/conflist.inf ]];then
		sed -i '/quic.inf/d' ${DST}/plug/conflist.inf
	fi

	if [[ -f ${DST}/etc/entrylist.conf ]];then
		sed -i '/QUIC/d' ${DST}/etc/entrylist.conf
	fi
fi