summarylogtreecommitdiffstats
path: root/atani.install
blob: a93649277d021bb9339ba8b6102c4e6b1a684e5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pre_install() {
	#in case of manual install
	rm -f /usr/bin/atani /usr/share/applications/atani.desktop /usr/share/pixmaps/atani.png
	rm -rf /opt/atani
}

post_install() {
	ln -s /opt/atani/atani /usr/bin/atani
}

pre_upgrade() {
	rm -f /usr/bin/atani /usr/share/applications/atani.desktop /usr/share/pixmaps/atani.png
	rm -rf /opt/atani
}

pre_remove() {
	rm -f /usr/bin/atani /usr/share/applications/atani.desktop /usr/share/pixmaps/atani.png
	rm -rf /opt/atani
}

post_remove() {
	rm -rf ~/.config/Atani
}