summarylogtreecommitdiffstats
path: root/catalyst-test.install
diff options
context:
space:
mode:
Diffstat (limited to 'catalyst-test.install')
-rw-r--r--catalyst-test.install12
1 files changed, 0 insertions, 12 deletions
diff --git a/catalyst-test.install b/catalyst-test.install
index 6c8794f0c409..62094ecde3cc 100644
--- a/catalyst-test.install
+++ b/catalyst-test.install
@@ -61,21 +61,13 @@ pre_upgrade(){
systemctl disable catalyst-hook.service
# remove existing fglrx modules
usr/bin/catalyst_build_module ra
-
- #this is lordheavy's old section, have to check if it's still needed - V.
- local curver=$2
- # $2 is unset due to a bug. Query current version using pacman as fallback
- [ -n "$curver" ] || curver=$(pacman -Qi catalyst-dkms | awk '/^Version/{print $3}')
- pre_remove $curver
}
post_install(){
- dkms install -m fglrx -v $1
whisperer
}
post_upgrade(){
- dkms install -m fglrx -v $1
whisperer
## switch to intel if it was intel before upgrade
@@ -89,10 +81,6 @@ post_upgrade(){
fi
}
-pre_remove(){
- dkms remove -m fglrx -v $1 --all
-}
-
post_remove(){
# remove log
rm -f var/log/catalyst-install.log