~mark-mims/juju-core/packaging-with-alternatives

« back to all changes in this revision

Viewing changes to debian/juju-core.postinst

  • Committer: Mark Mims
  • Date: 2013-04-02 01:52:53 UTC
  • Revision ID: mark.mims@canonical.com-20130402015253-er0f2dplhb4x6qfw
adjusting priority for update-alternatives

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
case "$1" in
7
7
  configure)
8
 
    update-alternatives --install /usr/bin/juju juju $base_dir/juju-$VER/bin/juju 10 \
 
8
    update-alternatives --install /usr/bin/juju juju $base_dir/juju-$VER/bin/juju 50 \
9
9
      --slave /usr/bin/jujud jujud $base_dir/juju-$VER/bin/jujud
10
10
    update-alternatives --set juju $base_dir/juju-$VER/bin/juju
11
11
    ;;