summarylogtreecommitdiffstats
path: root/mentohust.install
blob: 2ad3ac1a9cb5f3b4de177dc1026ad5b8e324f00e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# arg 1:  the new package version
# arg 2:  the old package version

name="mentohust"

tips(){
	echo ">>> If you want to autorun ${name},"
	echo ">>> run the following command as root,"
	echo ">>> systemctl enable ${name}.service"
}

post_install () {
	echo ">>> For first time, you must run '$name' to configure once."
	echo ">>> Or you may just manually edit /etc/${name}.conf"
	echo ""
	tips
}

post_upgrade() {
	tips
}