blob: 5b43458178f8daa6c01d67e9df414c2057a15761 (
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
|
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
if which py3compile >/dev/null 2>&1; then
py3compile -p open-numismat
fi
update-desktop-database -q
}
post_upgrade() {
post_install
}
pre_remove() {
if which py3clean >/dev/null 2>&1; then
py3clean -p open-numismat
else
echo "Already cleaned"
fi
}
post_remove() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
}
|