~ubuntu-branches/ubuntu/saucy/autofs/saucy-proposed

« back to all changes in this revision

Viewing changes to debian/prerm

  • Committer: Bazaar Package Importer
  • Author(s): Steinar H. Gunderson
  • Date: 2005-05-13 13:39:52 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050513133952-teczxws3qt5wo40h
Tags: 4.1.3+4.1.4beta2-10
062_fix_memory_leak: Fix a memory leak in 060_non_replicated_ping.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh -e
 
2
 
 
3
[ -f /etc/default/autofs ] && . /etc/default/autofs
 
4
 
2
5
if [ "$1" = "failed-upgrade" ]; then
3
6
        set +e
4
7
fi
5
8
 
6
 
if [ \( "$1" = "remove" -o "$1" = "purge" \) -a -x /etc/init.d/autofs ]; then
7
 
        /etc/init.d/autofs stop
 
9
if [ -x "/etc/init.d/autofs" ]; then
 
10
        if [ "$1" = "remove" -o -z "$AUTOFS_DONT_RESTART_ON_UPGRADES" ]; then
 
11
                /etc/init.d/autofs stop
 
12
        fi
8
13
fi
9
14
 
10
15
#DEBHELPER#