aboutsummarylogtreecommitdiffstats
path: root/netatop-dkms.install
blob: 4f6a144d278abcd63c3562c45ad4bdb32ed8f3f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

warn_about_headers() {
	echo "-------------------------------------------------------------------"
	echo "DKMS will now try to build the netatop module"
	echo "against every kernel you have installed. For the build to succeed,"
	echo "you must have header packages for every kernel. Header package"
	echo "for the stock kernel is called 'linux-headers', others usually"
	echo "follow the same naming scheme."
	echo "-------------------------------------------------------------------"
}

pre_install() {
	warn_about_headers
}

pre_upgrade() {
	warn_about_headers
}