summaryrefslogtreecommitdiff
path: root/cmake/preUninstall.sh
blob: 9812cb6fe1aa5b4fe5f87af69e4299ea6bbbaf56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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 '/dns.inf/d' ${DST}/plug/conflist.inf
	sed -i '/DNS/d' ${DST}/etc/entrylist.conf
fi