diff options
Diffstat (limited to 'community/catalyst-dkms/catalyst.install')
-rw-r--r-- | community/catalyst-dkms/catalyst.install | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community/catalyst-dkms/catalyst.install b/community/catalyst-dkms/catalyst.install new file mode 100644 index 000000000..f32e7ae7a --- /dev/null +++ b/community/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 +} + |