summarylogtreecommitdiffstats
path: root/htop.install
diff options
context:
space:
mode:
authorDX372020-11-18 11:03:16 +0700
committerDX372020-11-18 11:03:16 +0700
commit290f324455eeb0101d737fcbbab8fc9e48b92997 (patch)
tree676863b7b75cd75747069aacc528354974f9d572 /htop.install
parent9d4d148a69eb02224b231d53775ec91c3af5eecd (diff)
downloadaur-htop-temperature.tar.gz
package is deprecated now
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
+}