Removing a wrong message from the catalyst.install file.

This commit is contained in:
Daniele 2011-12-14 23:57:24 +00:00
parent 086a6fc00b
commit ee69386802
2 changed files with 7 additions and 26 deletions

View File

@ -10,7 +10,7 @@ _kernver=`pacman -Q linux | cut -c7-9 | sed 's/linux //g'`-CHAKRA
pkgname=catalyst
pkgver=11.11
pkgrel=1
pkgrel=2
pkgdesc="AMD/ATI Catalyst drivers for linux. fglrx kernel module only"
arch=('i686' 'x86_64')
url="http://www.ati.amd.com"
@ -84,4 +84,4 @@ package() {
install -m644 "${srcdir}/archive_files/LICENSE.TXT" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" $startdir/*.install
}
}

View File

@ -1,25 +1,7 @@
KERNEL_VERSION=3.1-CHAKRA
KERNEL_VERSION="3.1-CHAKRA"
whisperer(){
echo "----------------------------------------------------------------"
echo "For more info and more troubleshooting visit:"
echo "http://wiki.archlinux.org/index.php/ATI_Catalyst"
echo "----------------------------------------------------------------"
echo ""
echo "--------------------------- == * == ----------------------------"
echo "catalyst package has been splited between:"
echo "- catalyst (module for stock kernel)"
echo "- catalyst-utils (libs and stuff)"
echo ""
echo "and optional:"
echo "- catalyst-hook (auto rebuilding script and source files)"
echo "- catalyst-daemon (auto rebuilding script and source files)"
echo "- catalyst-generator (generator of catalyst-{kernver} packages)"
echo "----------------------------------------------------------------"
}
remove_hook(){
##removing hook's entries
# remove hook fglrx
@ -29,19 +11,18 @@ remove_hook(){
}
post_install() {
depmod $KERNEL_VERSION
whisperer
depmod "${KERNEL_VERSION}"
}
post_upgrade() {
remove_hook
depmod $KERNEL_VERSION
whisperer
depmod "${KERNEL_VERSION}"
}
post_remove() {
depmod $KERNEL_VERSION
depmod "${KERNEL_VERSION}"
echo "----------------------------------------------------------------"
echo "Don't forget to remove fglrx from MODULES array of /etc/rc.conf"
echo "----------------------------------------------------------------"
}