summarylogtreecommitdiffstats
path: root/config.install
blob: 80538431641cf3233504b31961d0a38f5e1e8ac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
post_install() {
	if [ -f /usr/share/thea/config ]
	then
		echo "* A new Thea config file has been installed at /usr/share/thea/config.dist"
		echo "* You should merge this file with your existing config file and run thea-config"
	else
		mv /usr/share/thea/config.dist /usr/share/thea/config
		echo "* Thea's config file is located at /usr/share/thea/config"
		echo "* You must now edit this file and run thea-config"
	fi
}

post_upgrade() {
	if [ -f /usr/share/thea/config ]
	then
		echo "* A new Thea config file has been installed at /usr/share/thea/config.dist"
		echo "* You should merge this file with your existing config file and run thea-config"
	else
		mv /usr/share/thea/config.dist /usr/share/thea/config
		echo "* Thea's config file is located at /usr/share/thea/config"
		echo "* You must now edit this file and run thea-config"
	fi
}