aboutsummarylogtreecommitdiffstats
path: root/shadow-beta.install
blob: 7c7ae479f860520835ddecf02d49f48eca2d335e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_remove() {
	# Remove configuration
	for user in `ls /home`
	do
		if [ -d /home/$user/.config/Shadow\ Beta ]; then
			rm -R /home/$user/.config/Shadow\ Beta
		fi
	done
}

pre_upgrade(){
	# Delete the old version of Shadow
	if [ -d "/opt/Shadow Beta" ]; then
	    rm -r "/opt/Shadow Beta"
	fi
}