SHARE
TWEET

sipvicious.install - sipvicious - AUR - Arch Linux

a guest Dec 4th, 2017 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. _PKGPROGS=('pptable' 'regen' 'svcrack' 'svcrash' 'svfphelper' 'svhelper' 'svlearnfp' 'svmap' 'svreport' 'svwar')
  3.  
  4. post_install() {
  5.   for prog in ${_PKGPROGS[@]};do
  6.     ln -s "/usr/share/sipvicious/${prog}.py" "/usr/bin/${prog}"
  7.   done
  8. }
  9.  
  10. post_upgrade() {
  11.   for prog in ${_PKGPROGS[@]};do
  12.     rm "/usr/bin/${prog}"
  13.   done
  14. }
  15.  
  16. post_remove() {
  17.   for prog in ${_PKGPROGS[@]};do
  18.     unlink "/usr/bin/${prog}"
  19.   done
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top