summarylogtreecommitdiffstats
path: root/tux-assistant.install
blob: c182dd9f5201f5f8b85639848c84da02d8d4a8ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# tux-assistant.install - Post-install hooks for Tux Assistant

post_install() {
    # Update icon cache
    if [ -x /usr/bin/gtk-update-icon-cache ]; then
        gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
    fi
    
    # Update desktop database
    if [ -x /usr/bin/update-desktop-database ]; then
        update-desktop-database -q /usr/share/applications
    fi
}

post_upgrade() {
    post_install
}

post_remove() {
    post_install
}