Advertisement
Guest User

sipvicious.install - sipvicious - AUR - Arch Linux

a guest
Dec 4th, 2017
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.42 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement