summarylogtreecommitdiffstats
path: root/htop.install
diff options
context:
space:
mode:
Diffstat (limited to 'htop.install')
-rw-r--r--htop.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/htop.install b/htop.install
new file mode 100644
index 00000000000..8a12acace1d
--- /dev/null
+++ b/htop.install
@@ -0,0 +1,20 @@
+all_off="$(tput sgr0)"
+bold="${all_off}$(tput bold)"
+blue="${bold}$(tput setaf 4)"
+yellow="${bold}$(tput setaf 3)"
+
+note() {
+ printf "${blue}::${yellow} WARNING:${bold} $1${all_off}\n"
+}
+
+post_install() {
+ note "htop-temperature is now deprecated. Consider installing htop,
+ which now contains another official temperature sensors support
+ implementation, directly based on libsensors."
+ note " Use: pacman -S htop"
+ note "See details: https://github.com/htop-dev/htop/pull/111"
+}
+
+post_upgrade() {
+ post_install
+}