~ubuntu-branches/ubuntu/natty/console-setup/natty

« back to all changes in this revision

Viewing changes to debian/console-setup.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Dustin Kirkland
  • Date: 2011-03-21 21:38:00 UTC
  • Revision ID: james.westby@ubuntu.com-20110321213800-vssx1o7d4essjjl8
Tags: 1.57ubuntu17
* debian/vtrgb: Design team wanted a slightly different grey; more contrast
  when white on grey
* debian/console-setup.postinst: fix failure to find file to md5sum;
  go back to installing the original vtrgb as a lower priority alternative

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
if [ "$1" = "configure" ]; then
12
12
    
13
13
    # Remove non-update-alternatives-maintained config file
14
 
    md5=$(md5sum /usr/share/console-setup/vtrgb | awk '{print $1}')
15
 
    [ -f /etc/vtrgb ] && [ ! -h /etc/vtrgb ] && (md5sum /etc/vtrgb | grep -qs $md5) && rm -f /etc/vtrgb
 
14
    [ -f /etc/vtrgb ] && [ ! -h /etc/vtrgb ] && (md5sum /etc/vtrgb | grep -qs e7c707883505a6e15e6e42aedcab64a1) && rm -f /etc/vtrgb
16
15
    update-alternatives --remove vtrgb /usr/share/console-setup/vtrgb 2>/dev/null || true
17
16
    update-alternatives --install /etc/vtrgb vtrgb "$CONFIGDIR/vtrgb" 50
18
 
    # Another package or a sysadmin choose to do the following:
19
 
    #   update-alternatives --install /etc/vtrgb vtrgb "$CONFIGDIR/vtrgb.vga" 60
 
17
    update-alternatives --install /etc/vtrgb vtrgb "$CONFIGDIR/vtrgb.vga" 20
20
18
 
21
19
    db_get console-setup/codesetcode
22
20
    codeset="$RET"