~ubuntu-branches/ubuntu/oneiric/microcode.ctl/oneiric-proposed

« back to all changes in this revision

Viewing changes to debian/microcode.ctl.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Daniel J Blueman, Daniel J Blueman, Stefano Rivera
  • Date: 2010-05-12 14:10:06 UTC
  • Revision ID: james.westby@ubuntu.com-20100512141006-ycq1uqqzhutku6tq
Tags: 1.17-13ubuntu1
[ Daniel J Blueman ]
* Rewrote update-intel-microcode script to robustly parse and
  download updated microcode correctly (LP: #569488)

[ Stefano Rivera ]
* update-intel-microcode: Do not eval() code from the Internet, and use
  Python's built in tarfile library rather than a temporary directory.
* debian/microcode.ctl.init: Depend on $remote_fs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#
4
4
# see: dh_installdeb(1)
5
5
 
6
 
 
7
6
set -e
8
7
 
9
8
. /usr/share/debconf/confmodule
44
43
 
45
44
        db_get microcode.ctl/check-new
46
45
        if [ "$RET" = true ] ; then
47
 
            update-intel-microcode --no-reload 1>&2 || true
 
46
            update-intel-microcode 1>&2 || true
48
47
        else
49
 
            echo "You have choose not to check for new microcoded. To change" 1>&2
 
48
            echo "You have choose not to check for new microcode. To change" 1>&2
50
49
            echo 'run  "dpkg-reconfigure -plow microcode.ctl"' 1>&2
51
50
        fi
52
51
 
66
65
#DEBHELPER#
67
66
 
68
67
exit 0
69