mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 19:34:40 +08:00
Removing a wrong message from the catalyst.install file.
This commit is contained in:
parent
086a6fc00b
commit
ee69386802
@ -10,7 +10,7 @@ _kernver=`pacman -Q linux | cut -c7-9 | sed 's/linux //g'`-CHAKRA
|
|||||||
|
|
||||||
pkgname=catalyst
|
pkgname=catalyst
|
||||||
pkgver=11.11
|
pkgver=11.11
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="AMD/ATI Catalyst drivers for linux. fglrx kernel module only"
|
pkgdesc="AMD/ATI Catalyst drivers for linux. fglrx kernel module only"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://www.ati.amd.com"
|
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
|
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
|
sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" $startdir/*.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(){
|
remove_hook(){
|
||||||
##removing hook's entries
|
##removing hook's entries
|
||||||
# remove hook fglrx
|
# remove hook fglrx
|
||||||
@ -29,19 +11,18 @@ remove_hook(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
depmod $KERNEL_VERSION
|
depmod "${KERNEL_VERSION}"
|
||||||
whisperer
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_upgrade() {
|
post_upgrade() {
|
||||||
remove_hook
|
remove_hook
|
||||||
depmod $KERNEL_VERSION
|
depmod "${KERNEL_VERSION}"
|
||||||
whisperer
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_remove() {
|
post_remove() {
|
||||||
depmod $KERNEL_VERSION
|
depmod "${KERNEL_VERSION}"
|
||||||
echo "----------------------------------------------------------------"
|
echo "----------------------------------------------------------------"
|
||||||
echo "Don't forget to remove fglrx from MODULES array of /etc/rc.conf"
|
echo "Don't forget to remove fglrx from MODULES array of /etc/rc.conf"
|
||||||
echo "----------------------------------------------------------------"
|
echo "----------------------------------------------------------------"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user