~xnox/ubuntu/oneiric/etckeeper/dhpy2

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2009-02-16 09:49:20 UTC
  • mfrom: (10.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20090216094920-bp7695rp0msq76ub
Tags: 0.30ubuntu1
* Merge from debian unstable, remaining changes:
  - etckeeper.conf, debian/control: default to bzr
* Introduces daily autocommits (LP: #321409)

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
                mv_conffile "/etc/etckeeper/init.d/20restore-metadata" \
66
66
                        "/etc/etckeeper/init.d/10restore-metadata"
67
67
        fi
 
68
        if dpkg --compare-versions "$2" le "0.28"; then
 
69
                for c in commit.d/30darcs-add init.d/60darcs-deleted-symlinks; do
 
70
                        if [ -e /etc/etckeeper/$c ]; then
 
71
                                chmod +x /etc/etckeeper/$c
 
72
                        fi
 
73
                done
 
74
        fi
 
75
 
 
76
        # prints error and exits nonzero if the ignore file cannot be updated
 
77
        etckeeper update-ignore || true
68
78
esac