summarylogtreecommitdiffstats
path: root/machinarium.install
blob: 68ca6d577715e4f3ab42518ad1cd7fa62a465e7a (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
_databases() {
    update-desktop-database -q
    gtk-update-icon-cache -qtf usr/share/icons/hicolor
}

post_install() {
    _databases
    [[ $CARCH == 'x86_64' ]] && echo "Don't forget to install the lib32 packages of your gtk engines."
    cat <<__EOF__
ALTERNATIVE startup:
open your browser and go to /usr/share/games/machinarium/machinarium-browser.swf

Mouse slowness hack:
right-click Settings > first tab; disable HW accel
second tab: just click on Advanced button (this will incidentally make game in windowed mode)
now you can under (window menu)Controls>Quality>set some lower
__EOF__
}

post_upgrade() {
    _databases

}

post_remove() {
    _databases
}