summarylogtreecommitdiffstats
path: root/catalyst.install
blob: 57bf2b1060962321de9b194030dd09168ad22d59 (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.7.0-1-ARCH
EXTRAMODULES=extramodules-4.7-ARCH


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
}