This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD - rtl8192ce_pci

By: a guest on Dec 9th, 2010  |  syntax: Bash  |  size: 0.36 KB  |  views: 291  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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 $*
clone this paste RAW Paste Data