~jelmer/maas/force-merge-mode

« back to all changes in this revision

Viewing changes to debian/maas.postinst

  • Committer: Tarmac
  • Author(s): Andres Rodriguez
  • Date: 2012-08-23 18:40:35 UTC
  • mfrom: (62.1.1 quantal)
  • Revision ID: ed@carob-20120823184035-7uycfkemy9551iqs
[r=andreserl][bug=1040462][author=andreserl] Add necessary Conflicts/Replaces.
debian/extras/maas-provision: Add missing "$@" (LP: #1040462)

Show diffs side-by-side

added added

removed removed

Lines of Context:
241
241
        if dpkg --compare-versions "$2" lt 0.1+bzr459+dfsg-0ubuntu1; then
242
242
                configure_maas_tgt
243
243
        fi
244
 
        # If upgrading from any version lower than 0.1+bzr908+dfsg-0ubuntu1
 
244
        # If upgrading from any version lower than 0.1+bzr916+dfsg-0ubuntu1
245
245
        # we need to regenerate the passwords and update configs.
246
 
        if dpkg --compare-versions "$2" lt 0.1+bzr908+dfsg-0ubuntu1; then
 
246
        if dpkg --compare-versions "$2" lt 0.1+bzr916+dfsg-0ubuntu1; then
247
247
                # configure maas default url
248
248
                db_get maas/default-maas-url
249
249
                ipaddr="$RET"