2 KERNEL_VERSION=3.2.0-1-mainline
3 EXTRAMODULES=extramodules-3.2-rc5-mainline
7 if [ $EXTRAMODULES != null ]; then
8 depmod $(cat /lib/modules/$EXTRAMODULES/version)
10 depmod $KERNEL_VERSION
15 echo "----------------------------------------------------------------"
16 echo "For more info and more troubleshooting visit:"
17 echo "http://wiki.archlinux.org/index.php/ATI_Catalyst"
18 echo "----------------------------------------------------------------"
20 echo "--------------------------- == * == ----------------------------"
21 echo "catalyst package has been splited between:"
22 echo "- catalyst (module for stock kernel)"
23 echo "- catalyst-utils (libs and stuff)"
26 echo "- catalyst-hook (auto rebuilding script and source files)"
27 echo "- catalyst-daemon (auto rebuilding script and source files)"
28 echo "- catalyst-generator (generator of catalyst-{kernver} packages)"
29 echo "----------------------------------------------------------------"
33 ##removing hook's entries
35 sed '/^HOOKS/s/ *fglrx//' -i etc/mkinitcpio.conf
37 sed '/^SyncFirst/s/ *kernel26-headers//' -i etc/pacman.conf
53 echo "----------------------------------------------------------------"
54 echo "Don't forget to remove fglrx from MODULES array of /etc/rc.conf"
55 echo "----------------------------------------------------------------"