diff options
author | Eddie.website | 2020-01-29 15:47:53 +0100 |
---|---|---|
committer | Eddie.website | 2020-01-29 15:47:53 +0100 |
commit | d579d9099e35c94359726990f67eb1b3c9dacebe (patch) | |
tree | 2d7700856a0bab38c2b46247cd4218082ea2ceda /eddie-ui.install | |
parent | 88c80b506a50e11e0a6997d4a73714a16cbeb41b (diff) | |
download | aur-d579d9099e35c94359726990f67eb1b3c9dacebe.tar.gz |
2.18.7
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 +} |