~ubuntu-branches/ubuntu/lucid/pkgsel/lucid

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-10-10 20:59:09 UTC
  • Revision ID: james.westby@ubuntu.com-20081010205909-i3gpx90xbop7gh69
Tags: 0.20ubuntu9
Preseed unattended-upgrades/enable_auto_updates to true if
unattended-upgrades is selected.

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
db_go || true
106
106
db_get pkgsel/update-policy
107
107
if [ "$RET" = unattended-upgrades ]; then
 
108
        echo 'unattended-upgrades unattended-upgrades/enable_auto_updates boolean true' | \
 
109
                log-output -t pkgsel chroot /target debconf-set-selections || \
 
110
                true
108
111
        apt-install unattended-upgrades || true
109
112
elif [ "$RET" = landscape ]; then
110
113
        echo 'landscape-client landscape-client/register_system boolean true' | \