summaryrefslogtreecommitdiff
path: root/community-testing/catalyst-dkms/catalyst.install
blob: 3adb1410dea5e25470fb96addbb25ce6ebd386ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
post_install() 
{
    dkms add -m fglrx -v $1
    dkms build -m fglrx -v $1
    dkms install -m fglrx -v $1
}

post_upgrade() 
{
    # removing old version
    dkms remove -m fglrx -v $2 --all
    # then installing the new one
    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
}