summarylogtreecommitdiffstats
path: root/librepcb-appimage.install
blob: 423fbf48c2483c99263ecf02b81c2dfb2ba8152e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
    echo "Update icon cache..."
    xdg-icon-resource forceupdate --theme hicolor &>/dev/null
    echo "Update mime database..."
    update-mime-database usr/share/mime &> /dev/null
    echo "Update desktop database..."
    update-desktop-database -q
}

post_upgrade() {
    post_install "$1"
}

post_remove() {
    post_install "$1"
}