diff options
Diffstat (limited to 'eddie-ui.install')
-rw-r--r-- | eddie-ui.install | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/eddie-ui.install b/eddie-ui.install new file mode 100644 index 000000000000..2a4b46bb2950 --- /dev/null +++ b/eddie-ui.install @@ -0,0 +1,30 @@ +# Colored makepkg-like functions +msg_blue() { + printf "${blue}==>${bold} $1${all_off}\n" +} + +note() { + printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n" +} + +all_off="$(tput sgr0)" +bold="${all_off}$(tput bold)" +blue="${bold}$(tput setaf 4)" +yellow="${bold}$(tput setaf 3)" + +_update() { + msg_blue "Updating desktop MIME database..." + update-desktop-database -q +} + +post_install() { + _update +} + +post_upgrade() { + post_install +} + +post_remove() { + _update +} |