summarylogtreecommitdiffstats
path: root/htop.install
blob: 8a12acace1da92677f7d1ec9c46dcc73b685dd1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
}