diff options
author | root <root@rshg054.dnsready.net> | 2012-10-02 01:06:16 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-02 01:06:16 -0700 |
commit | 941550cbc215d608bd18439f99500b74fbb80f0d (patch) | |
tree | ced50aee5db693d8495b19c59d2bdbd6927c9393 /community-testing/catalyst-dkms/catalyst.install | |
parent | 9b6be78b0c13a61c14d5278f1363eaf9c6388e4c (diff) |
Tue Oct 2 01:06:06 PDT 2012
Diffstat (limited to 'community-testing/catalyst-dkms/catalyst.install')
-rw-r--r-- | community-testing/catalyst-dkms/catalyst.install | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community-testing/catalyst-dkms/catalyst.install b/community-testing/catalyst-dkms/catalyst.install new file mode 100644 index 000000000..f32e7ae7a --- /dev/null +++ b/community-testing/catalyst-dkms/catalyst.install @@ -0,0 +1,24 @@ +post_install() +{ + dkms add -m fglrx -v $1 + dkms build -m fglrx -v $1 + dkms install -m fglrx -v $1 +} + +pre_upgrade() +{ + dkms remove -m fglrx -v $1 --all +} + +post_upgrade() +{ + dkms add -m fglrx -v $1 + dkms build -m fglrx -v $1 + dkms install -m fglrx -v $1 +} + +pre_remove() +{ + dkms remove -m fglrx -v $1 --all +} + |