updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / sip-dev / sip-dev.install
blobf8679d243c97058686784c3e7bdde68a234179c5
1 # SIP-dev: Installer: Arch
2 # Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
4 post_install() {
5         # Replace older SIP binary
6         mv /usr/bin/sip /usr/bin/sip-orig
7         mv /usr/bin/sip-dev /usr/bin/sip
9         #/bin/true
12 post_upgrade() {
13         post_install
14         #/bin/true
17 pre_remove() {
18         # Replace newer SIP binary
19         mv /usr/bin/sip /usr/bin/sip-dev
20         mv /usr/bin/sip-orig /usr/bin/sip
22         #/bin/true
25 post_remove() {
26         /bin/true
29 op=$1
30 shift
32 $op "$@"