summaryrefslogtreecommitdiff
path: root/community/catalyst-lts-dkms/catalyst.install
blob: 021f3fc54667de22b3e4dc3808a93cfd37625216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
}