summaryrefslogtreecommitdiffstats
path: root/abs/core/v4l-dvb/v4l-dvb.install
blob: ec6382d03768489ff3cb895e8182daff09d98172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
post_install() {
    echo ">>> Removing duplicate compressed kernel modules..."
    for file in `find /lib/modules -name "*.ko"`; do if [[ -e $file.gz ]]; then rm "$file.gz"; fi; done
    echo ">>> Running depmod..."
    depmod
}

post_upgrade() {
    echo ">>> Removing duplicate compressed kernel modules..."
    for file in `find /lib/modules -name "*.ko"`; do if [[ -e $file.gz ]]; then rm "$file.gz"; fi; done
    echo ">>> Running depmod..."
    depmod
}

post_remove() {
    echo ">>> v4l-dvb has been removed"
    echo ">>> kernel26 & dvb-firmware & linux-firmware should be reinstalled"
}