summarylogtreecommitdiffstats
path: root/corefreq-git.install
blob: 362ed5a38777eef7a354def5531b37bbcbe490ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
	dkms install corefreq-git/${1%%-*}
	echo -e 'modprobe or insmod the kernel module corefreqk.ko\nbefore starting the daemon corefreqd\nthen run the client corefreq-cli'
}

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

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

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