~ubuntu-branches/ubuntu/vivid/munge/vivid-proposed

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Bazaar Package Importer
  • Author(s): Gennaro Oliva
  • Date: 2009-09-27 22:19:07 UTC
  • mfrom: (6.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090927221907-ixb4y1muoxh4obgt
Tags: 0.5.8-10
* In the init script the runlevel 2 was moved from Default-Stop
  to Default-Start, $named was moved from Required-{Start,Stop} to
  Should-{Start,Stop}, $remote_fs was added in Required-{Start,Stop},
  $local_fs was removed from Should-{Start,Stop} (Closes: #541238) 
* Updated upstream config.{sub,guess} under the config directory
  (Closes: #537469)

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    ;;
41
41
esac
42
42
 
 
43
# Those using dependency based boot sequencing with sysv-rc and
 
44
# installing munge before version 0.5.8-9 would miss the
 
45
# runlevel 4 symlink and have wrong 2 symlink.
 
46
# Recover from this.
 
47
if [ "$1" = "configure" ] && dpkg --compare-versions "$2" le "0.5.8-10" \
 
48
   && [ -f /etc/rc2.d/K[0-9][0-9]munge ] ; then
 
49
      update-rc.d -f munge remove
 
50
fi
 
51
 
43
52
 
44
53
 
45
54
# dh_installdeb will replace this with shell code automatically