~bkerensa/ubuntu/raring/puppet/new-upstream-release

« back to all changes in this revision

Viewing changes to ext/debian/puppetmaster.postinst

  • Committer: Benjamin Kerensa
  • Date: 2012-11-21 23:50:52 UTC
  • mfrom: (1.1.30)
  • Revision ID: bkerensa@ubuntu.com-20121121235052-ah7nzabp77sh69gb
New Upstream Release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
# Remove renamed configuration files which are now handled by other
 
6
# packages
 
7
if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
 
8
 
 
9
    dpkg-maintscript-helper rm_conffile \
 
10
        /etc/logrotate.d/puppetmaster 2.7.16-1puppetlabs1 puppetmaster -- "$@"
 
11
 
 
12
# For systems with dpkg < 1.15.7-2
 
13
else
 
14
 
 
15
    if [ -f /etc/logrotate.d/puppetmaster ]; then
 
16
        rm /etc/logrotate.d/puppetmaster || true
 
17
    fi
 
18
fi
 
19
 
 
20
#DEBHELPER#