diff options
Diffstat (limited to 'librepcb-appimage.install')
-rw-r--r-- | librepcb-appimage.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/librepcb-appimage.install b/librepcb-appimage.install new file mode 100644 index 000000000000..423fbf48c248 --- /dev/null +++ b/librepcb-appimage.install @@ -0,0 +1,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" +} |