diff options
Diffstat (limited to 'unity-editor-bin.install')
-rw-r--r-- | unity-editor-bin.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/unity-editor-bin.install b/unity-editor-bin.install new file mode 100644 index 000000000000..79aac8c9a068 --- /dev/null +++ b/unity-editor-bin.install @@ -0,0 +1,19 @@ +_update() { + echo -e "\e[34;1m==>\e[39;1m Updating desktop MIME database...\e[0m" + update-desktop-database -q + + echo -e "\e[34;1m==>\e[39;1m Updating icon cache...\e[0m" + xdg-icon-resource forceupdate --theme hicolor &>/dev/null +} + +post_install() { + _update +} + +post_upgrade() { + _update +} + +post_remove() { + _update +} |