summarylogtreecommitdiffstats
path: root/nfancurve.install
blob: 21aaf9c6cba7433365db57a9442ae0d018d75bfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Colored makepkg-like functions
note() {
    printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n"
}

all_off="$(tput sgr0)"
bold="${all_off}$(tput bold)"
blue="${bold}$(tput setaf 4)"
yellow="${bold}$(tput setaf 3)"

post_install() {
    note "Make sure CoolBits are enabled for the correct Device. See USAGE.md."
    note "You may want to edit the fan curve config in /etc/nfancurve.conf"
    note "To start service use systemctl --user start nfancurve.service"
}

post_upgrade() {
    post_install
}