~ubuntu-branches/debian/squeeze/wicd/squeeze

« back to all changes in this revision

Viewing changes to debian/wicd-daemon.postinst

  • Committer: Bazaar Package Importer
  • Author(s): David Paleino
  • Date: 2010-02-01 18:43:38 UTC
  • Revision ID: james.westby@ubuntu.com-20100201184338-52c1kxi57e5cvnsy
Tags: 1.7.0-3
* Remove .pyo and .pyc files upon package removal (Closes: #565637)
  - debian/wicd-daemon.postrm updated
  - debian/wicd-cli.postrm, debian/wicd-curses.postrm,
    debian/wicd-gtk.postrm added
* debian/control:
  - removed trailing comma in wicd-daemon Recommends
  - Standards-Version bumped to 3.8.4, no changes needed
* debian/wicd-daemon.postinst: better handle upgrades (Closes: #566023)
* debian/wicd-daemon.wicd.init: correctly handle the exit code for
  the "status" command (Closes: #567070)
* debian/patches/:
  - 03-fix_typo_wicd-cli.patch added, fixes typo preventing
    wicd-cli from working at all (Closes: #567665)

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