~ubuntu-branches/ubuntu/quantal/nagiosgrapher/quantal

« back to all changes in this revision

Viewing changes to debian/postrm.in

  • Committer: Package Import Robot
  • Author(s): Alexander Reichle-Schmehl
  • Date: 2011-12-03 13:47:44 UTC
  • mfrom: (6.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20111203134744-766yxw8b924khqve
Tags: 1.7.1-4
* Avoid accessing uninitialized values to not spam error.log (Closes: #590555)
 * Update debian/patches/566248.dpatch to set $end when not initialized
 * Add debian/patches/590555.dpatch to solve same problem in rrd2-graph.cgi
* debian/rules: Create postrm script from postrm.in so we don't leave
  cruft behind after package purge (Closes: #670434)

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
if [ "$1" = "purge" ]; then
33
33
        for cfg in  $CFGS; do
34
 
                if [-x /usr/bin/ucf ] ; then
 
34
                if [ -x /usr/bin/ucf ] ; then
35
35
                        ucf --purge /etc/nagiosgrapher/$cfg
36
36
                fi
37
37
                rm -f /etc/nagiosgrapher/$cfg