blob: d15eeb2415a8b63a2ff154a9c338ce7fc92ca1e2 (
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
33
34
35
36
37
38
39
|
whisperer(){
echo "----------------------------------------------------------------"
echo "If you are using DKMS you may be interested"
echo "in switching to catalyst-dkms package"
echo "----------------------------------------------------------------"
echo -e "\e[0;36m------------------------- ANGELA -------------------------------\e[0m"
echo "To enable 'automatic re-compilation while system shutdown/reboot' "
echo "feature run these commands as root:"
echo "systemctl enable catalyst-hook"
echo "systemctl start catalyst-hook"
echo ""
echo "More info here:"
echo "https://bbs.archlinux.org/viewtopic.php?pid=1255575#p1255575"
echo -e "\e[0;36m----------------------------------------------------------------\e[0m"
}
post_install() {
usr/bin/catalyst_build_module ra
usr/bin/catalyst_build_module all
whisperer
}
post_upgrade() {
usr/bin/catalyst_build_module ra
usr/bin/catalyst_build_module all
whisperer
}
pre_remove(){
usr/bin/catalyst_build_module ra
}
post_remove() {
# remove hook fglrx
sed '/^HOOKS/s/ *fglrx//' -i etc/mkinitcpio.conf
# remove log
rm -f var/log/catalyst-install.log
}
|