diff options
Diffstat (limited to 'community/catalyst-lts-dkms/catalyst.install')
-rw-r--r-- | community/catalyst-lts-dkms/catalyst.install | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community/catalyst-lts-dkms/catalyst.install b/community/catalyst-lts-dkms/catalyst.install new file mode 100644 index 000000000..021f3fc54 --- /dev/null +++ b/community/catalyst-lts-dkms/catalyst.install @@ -0,0 +1,24 @@ +post_install() +{ + dkms add -m fglrx-lts -v $1 + dkms build -m fglrx-lts -v $1 + dkms install -m fglrx-lts -v $1 +} + +pre_upgrade() +{ + dkms remove -m fglrx-lts -v $1 --all +} + +post_upgrade() +{ + dkms add -m fglrx-lts -v $1 + dkms build -m fglrx-lts -v $1 + dkms install -m fglrx-lts -v $1 +} + +pre_remove() +{ + dkms remove -m fglrx-lts -v $1 --all +} + |