diff options
Diffstat (limited to 'abs/core/v4l-dvb/v4l-dvb.install')
-rw-r--r-- | abs/core/v4l-dvb/v4l-dvb.install | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/core/v4l-dvb/v4l-dvb.install b/abs/core/v4l-dvb/v4l-dvb.install index 8fb315c..ec6382d 100644 --- a/abs/core/v4l-dvb/v4l-dvb.install +++ b/abs/core/v4l-dvb/v4l-dvb.install @@ -1,10 +1,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" +} |