summaryrefslogtreecommitdiffstats
path: root/abs/core/v4l-dvb/v4l-dvb.install
blob: 46e627723e59333c0d1af30dd4e55734bf60e63b (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 & linux-firmware should be reinstalled"
}