summaryrefslogtreecommitdiff
path: root/cmake/PreUninstall.sh
blob: b6cb3efc0421d1326d700c1b8bbc51233ce0409d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if [ $1 == 0 ]; then
	DST=${RPM_INSTALL_PREFIX}

	mkdir -p ${DST}/plug/platform/
	mkdir -p ${DST}/etc/
	
	touch ${DST}/plug/conflist.inf
	touch ${DST}/etc/project_list.conf

	sed -i '/tsg_master.inf/d' ${DST}/plug/conflist.inf
	sed -i '/POLICY_PRIORITY/d' ${DST}/etc/project_list.conf
	sed -i '/TSG_MASTER_INTERNAL_LABEL/d' ${DST}/etc/project_list.conf
fi