# Colored makepkg-like functions msg_blue() { printf "${blue}==>${bold} $1${all_off}\n" } note() { printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n" } _update() { msg_blue "Updating desktop MIME database..." update-desktop-database -q } post_install() { _update note "Custom flags should be put directly in: ~/.config/atom-editor-beta-flags.conf" } post_upgrade() { _update } post_remove() { _update }