summarylogtreecommitdiffstats
path: root/tempo-git.install
blob: 5276fb312d97c50af426c154f6b38cc3f5d1a582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
post_install() {
	ln -sv /opt/tempo/bin/tempo /usr/bin/tempo
	echo "Please run: echo 'export \"TEMPO=/opt/tempo\"' >> ~/.bashrc"
}

pre_upgrade() {
	rm -f /usr/bin/tempo
}

post_upgrade() {
	post_install
}

pre_remove() {
	pre_upgrade
}

post_remove() {
	echo "Remove \$TEMPO from your ~/.bashrc."
}