summarylogtreecommitdiffstats
path: root/mercury-browser.install
diff options
context:
space:
mode:
Diffstat (limited to 'mercury-browser.install')
-rw-r--r--mercury-browser.install19
1 files changed, 9 insertions, 10 deletions
diff --git a/mercury-browser.install b/mercury-browser.install
index 5e53179ff2d3..1b41a68c0550 100644
--- a/mercury-browser.install
+++ b/mercury-browser.install
@@ -1,10 +1,10 @@
# Colored makepkg-like functions
msg_blue() {
- printf "${BLUE}==>${BOLD} $1${ALL_OFF}\n"
+ printf "${BLUE}==>${BOLD} $1${ALL_OFF}\n"
}
note() {
- printf "${BLUE}==>${YELLOW} NOTE:${BOLD} $1${ALL_OFF}\n"
+ printf "${BLUE}==>${YELLOW} NOTE:${BOLD} $1${ALL_OFF}\n"
}
ALL_OFF="$(tput sgr0)"
@@ -19,15 +19,14 @@ CYAN="${BOLD}$(tput setaf 6)"
WHITE="${BOLD}$(tput setaf 7)"
post_install() {
- if /usr/lib/ld-linux-x86-64.so.2 --help | grep -qsE '^\s+x86-64-v3.*supported.*$' ; then
- note "Congratulations. Your processor supports x86-64-v3."
- note "Enjoy the fastest Firefox fork on Earth: mercury-browser"
- else
- note "Your processor does not support x86-64-v3."
- note "mercury-browser will not work on your computer."
- fi
+ if /usr/lib/ld-linux-x86-64.so.2 --help | grep -qsE '^\s+x86-64-v3.*supported.*$' ; then
+ note "Enjoy the fastest Firefox fork on Earth: mercury-browser"
+ else
+ note "Your processor does not support x86-64-v3."
+ note "mercury-browser may not work on your computer."
+ fi
}
post_upgrade() {
- post_install
+ post_install
}