updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / openttd-32bpp / openttd-32bpp.install
blob7497b12942a2e98b2c017ee917c78214791053ff
1 post_install() {
2   gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor > /dev/null 2>&1
3   update-desktop-database > /dev/null 2>&1
4   echo '>>> Dont forget to copy modified config file '
5   echo '>>> /usr/share/openttd-32bpp/openttd.cfg to ~/.openttd-32bpp/'
6   echo '>>> To get 32bpp graphics:'
7   echo '>>> Install openttd-32bpp-{gfx,gfx-dev,gfx-extra} from the AUR,'
8   echo '>>> or download Fullpack.zip from forums:'
9   echo '>>> http://www.tt-forums.net/viewtopic.php?f=36&t=46682'
12 post_upgrade() {
13   post_install $1
16 pre_remove() {
17   update-desktop-database > /dev/null 2>&1
20 post_remove() {
21   gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor > /dev/null 2>&1     
22   update-desktop-database > /dev/null 2>&1