summarylogtreecommitdiffstats
path: root/eddie-ui-git.install
diff options
context:
space:
mode:
Diffstat (limited to 'eddie-ui-git.install')
-rw-r--r--eddie-ui-git.install30
1 files changed, 30 insertions, 0 deletions
diff --git a/eddie-ui-git.install b/eddie-ui-git.install
new file mode 100644
index 00000000000..2a4b46bb295
--- /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
+}