updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / shfs / shfs.install
blob4008827d85845a46371dc8647006b889ccd08074
1 # arg 1:  the new package version
2 pre_install() {
3   /bin/true
6 # arg 1:  the new package version
7 post_install() {
8   echo
9   echo ">>> If you want to allow non-root users to mount shfs shares, you have to set"
10   echo ">>> suid attribute on shfsmount/shfsumount (chmod u+s)."
11   echo
12   KERNEL_VERSION='2.6.22-ARCH'
13   depmod -v $KERNEL_VERSION > /dev/null 2>&1
16 # arg 1:  the new package version
17 # arg 2:  the old package version
18 pre_upgrade() {
19   /bin/true
22 # arg 1:  the new package version
23 # arg 2:  the old package version
24 post_upgrade() {
25   post_install
28 # arg 1:  the old package version
29 pre_remove() {
30   /bin/true
33 # arg 1:  the old package version
34 post_remove() {
35   KERNEL_VERSION='2.6.22-ARCH'
36   depmod -v $KERNEL_VERSION > /dev/null 2>&1