~ubuntu-branches/ubuntu/trusty/exabgp/trusty

« back to all changes in this revision

Viewing changes to debian/exabgp.preinst

  • Committer: Package Import Robot
  • Author(s): Henry-Nicolas Tourneur
  • Date: 2012-03-22 12:00:00 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120322120000-v4aj8h69mhpmgbjq
Tags: 2.0.7-1

* New upstream release
* Fix bad clean target for build/ directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
 
 
3
if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
 
4
    FILE_ONE="/etc/exabgp/processes/dynamic-1.sh"
 
5
    FILE_TWO="/etc/exabgp/processes/watchdog-1.sh"
 
6
    if ! egrep -q "$FILE_ONE" /etc/exabgp/exabgp.conf ; then dpkg-maintscript-helper rm_conffile "$FILE_ONE" -- "$@" ; fi
 
7
    if ! egrep -q "$FILE_TWO" /etc/exabgp/exabgp.conf ; then dpkg-maintscript-helper rm_conffile "$FILE_TWO" -- "$@" ; fi
 
8
fi
 
9
 
 
10
#DEBHELPER#
 
11
 
 
12
exit 0