updated on Thu Jan 19 04:14:35 UTC 2012
[aur-mirror.git] / sat-xmpp / sat-xmpp.install
blob07985dfd65514af1222ef39d20877a0235d79a0d
1 # This is a default template for a post-install scriptlet.  You can
2 # remove any functions you don't need (and this header).
4 # arg 1:  the new package version
5 pre_install() {
6   /bin/true
9 # arg 1:  the new package version
10 post_install() {
11   # Stop sat (salut a toi)
12   pkill -f "twistd.*sat/sat.tac"
13   /bin/true
14   ln -s /usr/bin/sat /usr/lib/python2.7/site-packages/sat/sat.sh
17 # arg 1:  the new package version
18 # arg 2:  the old package version
19 pre_upgrade() {
20   /bin/true
23 # arg 1:  the new package version
24 # arg 2:  the old package version
25 post_upgrade() {
26   pkill -f "twistd.*sat/sat.tac"
27   /bin/true
30 # arg 1:  the old package version
31 pre_remove() {
32     # Stop sat (salut a toi)
33     pkill -f "twistd.*sat/sat.tac"
34   /bin/true
37 # arg 1:  the old package version
38 post_remove() {
39   /bin/true
42 op=$1
43 shift
44 $op $*