summaryrefslogtreecommitdiff
path: root/community/catalyst-dkms/catalyst.install
blob: f32e7ae7aaa2e8f7ade35d2f90662848227dcbc0 (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 -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
}