summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Shoreman2019-08-21 11:33:22 +0100
committerDave Shoreman2019-08-21 11:33:22 +0100
commit98d24267bd629877db86340e4f2d78d98d43f6cc (patch)
tree0d631fcb0ee933dc19cd833eb00c76b5a3dde70b
parent4fe74b92d84abb45acef09f35cce0561efca9d19 (diff)
downloadaur-98d24267bd629877db86340e4f2d78d98d43f6cc.tar.gz
Cleanup the post-install dependency message
The thanks is now bold, green and on its own, with other colours updated to reset the bold state. The dependency text now has a clear header with the extra details in plain white text beneath it. All in all, everything's a lot clearer and easier to digest.
-rw-r--r--nextshot.install14
1 files changed, 9 insertions, 5 deletions
diff --git a/nextshot.install b/nextshot.install
index 746b9b86cb9a..4353e0a5a4c3 100644
--- a/nextshot.install
+++ b/nextshot.install
@@ -1,13 +1,17 @@
#!/usr/bin/env bash
-readonly info=$'\e[36m'
-readonly warn=$'\e[33m'
+readonly success=$'\e[1;32m'
+readonly info=$'\e[0;36m'
+readonly warn=$'\e[0;33m'
readonly reset=$'\e[0m'
post_install() {
- echo "${info}Thanks for installing Nextshot!"
- echo "${warn}Dependencies vary based on your current environment."
- echo "Run 'nextshot --deps' after configuration to ensure you have all required packages.${reset}"
+ echo "${success}Thanks for installing Nextshot!"
+ echo
+ echo "${info}Dependencies vary based on your current environment"
+ echo "${reset}Run 'nextshot --deps' after configuration to ensure"
+ echo "that you have all the required packages installed."
+ echo
}
post_upgrade() {