summarylogtreecommitdiffstats
path: root/corefreq-git.install
blob: 1252475d1967e4f21696c6fc6aa3de781bdc267f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
        dkms install corefreq-git/${1%%-*}
        echo 'modprobe or insmod the kernel module intelfreq.ko prior to start corefreqd.service and'
        echo 'use systemd to start corefreqd.service prior to running corefreq-cli'
}

pre_upgrade() {
        pre_remove ${2%%-*}
}

post_upgrade() {
        post_install ${1%%-*}
}

pre_remove() {
        dkms remove corefreq-git/${1%%-*} --all
}