~ubuntu-branches/ubuntu/raring/ifupdown-extra/raring

« back to all changes in this revision

Viewing changes to debian/ifupdown-extra.postrm

  • Committer: Bazaar Package Importer
  • Author(s): Javier Fernández-Sanguino Peña, Javier Fernández-Sanguino Peña
  • Date: 2011-10-14 00:38:29 UTC
  • Revision ID: james.westby@ubuntu.com-20111014003829-0e0hcr38xx3slgh6
Tags: 0.22
[ Javier Fernández-Sanguino Peña ]
* if-up-scripts/check-duplicate-ip:
   - Do not pass aliased interface information to arping since it cannot
     handle it properly (Closes: #644891)
* Handle the configuration file through the use of dpkg-maintscript-helper
  instead of moving it directly to prevent dpkg from raising a conffile
  change prompt on upgrades even if the user has          not made any
  changes. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
# There was a bug in the package (<< 0.15). We need to
 
6
# move the file to the new location
 
7
if dpkg-maintscript-helper supports mv_conffile; then
 
8
    dpkg-maintscript-helper mv_conffile \
 
9
        /etc/network/network-routes /etc/network/routes 0.14 -- "$@"
 
10
fi
 
11
 
 
12
#DEBHELPER#
 
13
 
 
14
# vim:tabstop=2:expandtab:shiftwidth=2