updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / backpackusb / backpackusb.install
blob3c742eb0f20f6669b0b903b7e00e172042d9760a
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   /bin/cat <<END
13 >> Now running /etc/start_udev to repopulate /dev
15 >> If the USB device does not initially appear, unplug and plug back in 
16 >> the USB device.
18 END
19   /etc/start_udev
22 # arg 1:  the new package version
23 # arg 2:  the old package version
24 pre_upgrade() {
25   /bin/true
28 # arg 1:  the new package version
29 # arg 2:  the old package version
30 post_upgrade() {
31   post_install $1
34 # arg 1:  the old package version
35 pre_remove() {
36   /bin/true
39 # arg 1:  the old package version
40 post_remove() {
41   /bin/cat <<END
44 >> Now running /etc/start_udev to repopulate /dev
46 END
47   /etc/start_udev
50 op=$1
51 shift
52 $op $*