updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sipvicious-svn / post.install
blobb36de501f5fbe9045ec2086ddb023afbb0074990
1 # Contributor: Jinx <Jinxware[at]gmail[dot]com>
3 post_install() {
4         _pkgprogs=('svcrack.py' 'svcrash.py' 'svmap.py'
5                'svreport.py' 'svwar.py')
7         for _prog in ${_pkgprogs[@]}
8         do
9                 ln -s "/usr/share/sipvicious-svn/$_prog" \
10                           "/usr/bin/${_prog%%.*}"
11         done
14 post_upgrade() {
15         _pkgprogs=('svcrack' 'svcrash' 'svmap' 'svreport' 'svwar')
17         for _prog in ${_pkgprogs[@]}
18         do
19                 rm "/usr/bin/$_prog"
20         done
23 post_remove() {
24         _pkgprogs=('svcrack' 'svcrash' 'svmap' 'svreport' 'svwar')
26         for _prog in ${_pkgprogs[@]}
27         do
28                 rm "/usr/bin/$_prog"
29         done