updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / v4l2loopback-git / v4l2loopback-git.install
blob158a4bf0308f9c060a104b3423746bf29fa3115c
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   /sbin/depmod -a
12   /bin/true
13   echo "==> v4l2loopback module"
14   echo "==> modprobe v4l2loopback"
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   /sbin/depmod -a
27   /bin/true
30 # arg 1:  the old package version
31 pre_remove() {
32   /bin/true
35 # arg 1:  the old package version
36 post_remove() {
37   /sbin/depmod -a
38   /bin/true
41 op=$1
42 shift
43 $op $*