summarylogtreecommitdiffstats
path: root/shadow-tech.install
blob: 698694b3e9444c535d6be16c6370c5ea257f07c6 (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 ]; then
			rm -R /home/$user/.config/Shadow
		fi
	done
}

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