summarylogtreecommitdiffstats
path: root/junction.install
diff options
context:
space:
mode:
Diffstat (limited to 'junction.install')
-rw-r--r--junction.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/junction.install b/junction.install
new file mode 100644
index 000000000000..4903b0740d85
--- /dev/null
+++ b/junction.install
@@ -0,0 +1,22 @@
+#!/bin/sh
+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)"
+
+post_install() {
+ note "add '/usr/share/:/usr/local/share/' to you XDG_DATA_DIRS env, e.g"
+ msg_blue 'echo 'XDG_DATA_DIRS=\"\$XDG_DATA_DIRS:/usr/share/:/usr/local/share/\"' >> /etc/environment'
+}
+
+post_upgrade() {
+ post_install
+}