SHARE
TWEET

PKGBUILD - rtl8192ce_pci

a guest Dec 9th, 2010 296 Never
  1. refresh_depmod()
  2. {
  3.     echo "updating kernel modules..."
  4.     depmod -a
  5. }
  6.  
  7. # arg 1:  the new package version
  8. post_install()
  9. {
  10.     refresh_depmod
  11. }
  12.  
  13. # arg 1:  the new package version
  14. # arg 2:  the old package version
  15. post_upgrade()
  16. {
  17.     refresh_depmod
  18. }
  19.  
  20. # arg 1:  the old package version
  21. post_remove()
  22. {
  23.     refresh_depmod
  24. }
  25.  
  26. op=$1
  27. shift
  28.  
  29. $op $*
RAW Paste Data
Top