Advertisement
Guest User

PKGBUILD - rtl8192ce_pci

a guest
Dec 9th, 2010
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.36 KB | None | 0 0
  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 $*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement