~ubuntu-branches/ubuntu/karmic/ltspfs/karmic

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Bazaar Package Importer
  • Author(s): Scott Balneaves
  • Date: 2006-09-18 13:01:06 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060918130106-ns6gmg2kl0oic3h6
Tags: 0.4.3-0ubuntu1
* Fixed variable check for static-devices in add_fstab_entry
* Bumped to 0.4.3
* UVF exception granted by mdz

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh -e
2
 
#
3
 
# Inspiration stolen from the fetchmail* packages. Thanks Henrique!
4
 
#
5
 
# $Id: ltspfs,v 1.4 2003/12/18 21:29:05 mdz Exp $
6
 
#
7
 
 
8
 
#DEBHELPER#
9
 
 
10
 
case "$1" in
11
 
        configure)
12
 
        # add fuse to /etc/modules
13
 
                if [ $(grep fuse /etc/modules) ]; then 
14
 
                        echo "fuse" >> /etc/modules
15
 
                fi
16
 
                if [ !  $(lsmod |grep fuse|awk '{print $1}') ];then 
17
 
                        modprobe fuse
18
 
                fi
19
 
 
20
 
                chmod 4755 /usr/bin/lbmount
21
 
 
22
 
                ;;
23
 
 
24
 
        abort-upgrade|abort-remove|abort-deconfigure)
25
 
                exit 0
26
 
                ;;
27
 
 
28
 
        *)
29
 
                echo "postinst called with unknown argument \`$1'" >&2
30
 
                exit 0
31
 
                ;;
32
 
esac