~ubuntu-branches/ubuntu/vivid/rpcbind/vivid

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Steve Langasek
  • Date: 2012-01-03 07:35:59 UTC
  • mfrom: (5.1.3 wheezy)
  • Revision ID: steve.langasek@canonical.com-20120103073559-8x1ymw7442ljn7ps
Merge version 0.2.0-7 from Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
        update-rc.d rpcbind remove
8
8
fi
9
9
 
 
10
if [ "$1" = configure ] ; then
 
11
        # /run transition (see #633035)
 
12
        if dpkg --compare-versions "$2" lt "0.2.0-7"; then
 
13
                if [ -f /lib/init/rw/sendsigs.omit.d/rpcbind ]; then
 
14
                        mv /lib/init/rw/sendsigs.omit.d/rpcbind /run/rpcbind.pid
 
15
                        ln -s /run/rpcbind.pid /run/sendsigs.omit.d/rpcbind
 
16
                fi
 
17
        fi
 
18
fi
 
19
 
10
20
#DEBHELPER#