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

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Steve Langasek
  • Date: 2013-08-10 23:50:36 UTC
  • Revision ID: steve.langasek@canonical.com-20130810235036-n2vhfzh3dpnglsgp
* Migrate /etc/init/portmap.conf to /etc/init/rpcbind.conf, so that it
  matches the init script name and makes us compatible with new debhelper
  upstart handling.
* Add versioned dependency on lsb-base, and make initscript
  upstart-aware.
* debian/rules: drop use of obsolete --upstart-only argument to
  dh_installinit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
set -e
4
4
 
5
 
dpkg-maintscript-helper rm_conffile /etc/init.d/rpcbind 0.2.0-6ubuntu1 -- "$@"
6
 
if dpkg --compare-versions "$2" le 0.2.0-6ubuntu1; then
7
 
        update-rc.d rpcbind remove
8
 
fi
9
 
 
10
5
if [ "$1" = configure ] ; then
11
6
        # /run transition (see #633035)
12
7
        if dpkg --compare-versions "$2" lt "0.2.0-7"; then