diff options
author | Eddie.website | 2018-06-04 14:34:49 +0200 |
---|---|---|
committer | Eddie.website | 2018-06-04 14:34:49 +0200 |
commit | 5f7ef2b0d676c46933ed8625ea65eb12a405cf84 (patch) | |
tree | 7231215bad6c25cd3b393f472c026d47ee039843 /eddie-ui-git.install | |
download | aur-5f7ef2b0d676c46933ed8625ea65eb12a405cf84.tar.gz |
ready
Diffstat (limited to 'eddie-ui-git.install')
-rw-r--r-- | eddie-ui-git.install | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/eddie-ui-git.install b/eddie-ui-git.install new file mode 100644 index 000000000000..2a4b46bb2950 --- /dev/null +++ b/eddie-ui-git.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 +} |