updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / sipvicious / post.install
blobed9066c2281002c512c9bc93dd57df708a9f179a
1 # Contributor: Jinx <Jinxware[at]gmail[dot]com>
3 post_install() {
4         _pkgprogs=('svcrack.py' 'svcrash.py' 'svmap.py' 'svreport.py' 'svwar.py')
6         for _prog in ${_pkgprogs[@]}
7         do
8                 ln -s "/usr/share/sipvicious/$_prog" "/usr/bin/${_prog%%.*}"
9         done
12 post_upgrade() {
13         _pkgprogs=('svcrack' 'svcrash' 'svmap' 'svreport' 'svwar')
15         for _prog in ${_pkgprogs[@]}
16         do
17                 rm "/usr/bin/$_prog"
18         done
21 post_remove() {
22         _pkgprogs=('svcrack' 'svcrash' 'svmap' 'svreport' 'svwar')
24         for _prog in ${_pkgprogs[@]}
25         do
26                 rm "/usr/bin/$_prog"
27         done