~ubuntu-branches/ubuntu/natty/newt/natty-201103250245

« back to all changes in this revision

Viewing changes to debian/libnewt0.52.postinst

  • Committer: Dustin Kirkland
  • Date: 2011-03-20 22:28:33 UTC
  • Revision ID: kirkland@ubuntu.com-20110320222833-n0sk2asspj1qv1w6
Tags: 0.52.11-2ubuntu5
releasing version 0.52.11-2ubuntu5

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 /etc/newt/palette newt-palette /usr/share/newt/palette.ubuntu 50
9
 
        update-alternatives --install /etc/newt/palette newt-palette /usr/share/newt/palette 20
 
8
        # These have been moved from /usr to /etc, clean up if necessary
 
9
        update-alternatives --remove newt-palette /usr/share/newt/palette.ubuntu 2>/dev/null || true
 
10
        update-alternatives --remove newt-palette /usr/share/newt/palette 2>/dev/null || true
 
11
        # Install alternatives
 
12
        update-alternatives --install /etc/newt/palette newt-palette /etc/newt/palette.ubuntu 50
 
13
        update-alternatives --install /etc/newt/palette newt-palette /etc/newt/palette.original 20
10
14
        ;;
11
15
esac