blob: 5e2dcfb2858fb9ba8abfc38d96b77c040c198198 (
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
27
28
29
30
31
32
33
|
post_install()
{
if which pycompile >/dev/null 2>&1; then
pycompile -p ayatana-webmail
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 ayatana-webmail
else
pacman -Qql ayatana-webmail | grep '\.py$' | while read file
do
rm -f "${file}"[co] >/dev/null
done
fi
}
post_remove()
{
glib-compile-schemas usr/share/glib-2.0/schemas
}
|