blob: 966764ef9802d7594e298c8f6d755a88d3c3d520 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
KERNEL_VERSION=4.10.0-rc8-mainline
EXTRAMODULES=extramodules-4.10-mainline
dep_extr_mod(){
if [ $EXTRAMODULES != null ]; then
depmod $(cat usr/lib/modules/$EXTRAMODULES/version)
else
depmod $KERNEL_VERSION
fi
}
whisperer(){
echo "----------------------------------------------------------------"
echo "For more info and troubleshooting visit:"
echo "http://wiki.archlinux.org/index.php/AMD_Catalyst"
echo "----------------------------------------------------------------"
}
post_install() {
dep_extr_mod
whisperer
}
post_upgrade() {
dep_extr_mod
}
post_remove() {
dep_extr_mod
}
|