From ee6938680293e00e55c8d0a769d2923e3e8ff0b6 Mon Sep 17 00:00:00 2001 From: Daniele Date: Wed, 14 Dec 2011 23:57:24 +0000 Subject: [PATCH] Removing a wrong message from the catalyst.install file. --- catalyst/PKGBUILD | 4 ++-- catalyst/catalyst.install | 29 +++++------------------------ 2 files changed, 7 insertions(+), 26 deletions(-) diff --git a/catalyst/PKGBUILD b/catalyst/PKGBUILD index 749e716e0..65adf7580 100644 --- a/catalyst/PKGBUILD +++ b/catalyst/PKGBUILD @@ -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 -} \ No newline at end of file +} diff --git a/catalyst/catalyst.install b/catalyst/catalyst.install index 4a61dc677..321e18e35 100644 --- a/catalyst/catalyst.install +++ b/catalyst/catalyst.install @@ -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 "----------------------------------------------------------------" } +