summarylogtreecommitdiffstats
path: root/firefox-unbranded-bin.install
diff options
context:
space:
mode:
Diffstat (limited to 'firefox-unbranded-bin.install')
-rw-r--r--firefox-unbranded-bin.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/firefox-unbranded-bin.install b/firefox-unbranded-bin.install
new file mode 100644
index 000000000000..4268f4450670
--- /dev/null
+++ b/firefox-unbranded-bin.install
@@ -0,0 +1,17 @@
+note() {
+ printf "${blue}==>${yellow} NOTE$1:${bold} $2${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 1 "This package replaces regular firefox."
+ note 2 "Valid launchers are: 'firefox' and 'firefox-unbranded-bin'."
+}
+
+post_upgrade() {
+ post_install
+}