~matttbe/wicd/ubuntu_python27

« back to all changes in this revision

Viewing changes to debian/wicd-daemon.postinst

  • Committer: Bazaar Package Importer
  • Author(s): David Paleino
  • Date: 2010-03-05 18:12:51 UTC
  • mfrom: (8.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100305181251-0fcsn0sty5oy8wlq
Tags: 1.7.0+ds1-2
Fix RC bug: daemon doesn't start anymore because copy.deepcopy()
fails with the iniparse object, coming from 20-use_iniparse.patch.
Bug 568326 reopened. (Closes: #572599)

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
case "$1" in
24
24
    configure)
 
25
        # This is needed for some upgrade paths, since in some installations
 
26
        # wicd happens to have files in /u/*/python*/*-packages/, and this
 
27
        # makes it non-working.
 
28
        # This should be better handled but, hey, it should work.
 
29
        rm -rf /usr/*/python*/*-packages/wicd
 
30
 
25
31
        if [ ! $(getent group netdev) ]; then
26
32
                addgroup --quiet --system netdev
27
33
        fi