summarylogtreecommitdiffstats
path: root/odio.install
blob: 42db1224a24735bdbfcd02cb940cca4a3badd97d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
post_install()
{

	if which pycompile >/dev/null 2>&1; then
		pycompile -p odio 
	fi

    glib-compile-schemas /usr/share/glib-2.0/schemas/
}

post_upgrade()
{
	post_install
}

pre_remove()
{
	if which pyclean >/dev/null 2>&1; then
		pyclean -p odio 
	else
		pacman -Qql odio | grep '\.py$' | while read file
		do
			rm -f "${file}"[co] >/dev/null
	  	done
	fi
}