~ubuntu-core-dev/unattended-upgrades/ubuntu

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Michael Vogt
  • Date: 2010-08-02 09:04:20 UTC
  • mfrom: (136 ubuntu)
  • mto: This revision was merged to the branch mainline in revision 139.
  • Revision ID: michael.vogt@ubuntu.com-20100802090420-b1vaha9f359q9vto
mergedĀ fromĀ ubuntu

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
case "$1" in
23
23
    configure)
 
24
        # *sigh* typo in filename in version 0.51ubuntu1
 
25
        if [ -e /etc/pm/sleep.d/10_unatteded-upgrades-hibernate ]; then
 
26
            rm -f /etc/pm/sleep.d/10_unatteded-upgrades-hibernate
 
27
        fi
 
28
 
24
29
    db_get unattended-upgrades/enable_auto_updates || true
25
30
    if [ "${RET}" = "true" ]; then
26
31
        NEWFILE="/usr/share/unattended-upgrades/20auto-upgrades"