[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. 2.6.5rc1-398-g19eaa8c
Stig Sandbeck Mathisen
ssm at debian.org
Thu Mar 3 09:53:33 UTC 2011
The following commit has been merged in the master branch:
commit c29ee05efdfbfaf0fe96573571047bd74a27bc11
Author: Stig Sandbeck Mathisen <ssm at debian.org>
Date: Tue Mar 1 13:59:18 2011 +0100
Remove renamed configuration files now handled by other packages (Closes: #564947, #611615)
diff --git a/debian/puppet.postinst b/debian/puppet.postinst
new file mode 100644
index 0000000..c97a755
--- /dev/null
+++ b/debian/puppet.postinst
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# Remove renamed configuration files which are now handled by other
+# packages
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
+
+ dpkg-maintscript-helper rm_conffile \
+ /etc/logrotate.d/puppet 2.6.4-2 puppet -- "$@"
+
+ dpkg-maintscript-helper rm_conffile \
+ /etc/logcheck/ignore.d.server/puppet 2.6.4-2 puppet -- "$@"
+
+ dpkg-maintscript-helper rm_conffile \
+ /etc/emacs/site-start.d/50puppet-mode-init.el 2.6.4-2 puppet -- "$@"
+
+fi
+
+#DEBHELPER#
diff --git a/debian/puppet.postrm b/debian/puppet.postrm
new file mode 100644
index 0000000..c97a755
--- /dev/null
+++ b/debian/puppet.postrm
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# Remove renamed configuration files which are now handled by other
+# packages
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
+
+ dpkg-maintscript-helper rm_conffile \
+ /etc/logrotate.d/puppet 2.6.4-2 puppet -- "$@"
+
+ dpkg-maintscript-helper rm_conffile \
+ /etc/logcheck/ignore.d.server/puppet 2.6.4-2 puppet -- "$@"
+
+ dpkg-maintscript-helper rm_conffile \
+ /etc/emacs/site-start.d/50puppet-mode-init.el 2.6.4-2 puppet -- "$@"
+
+fi
+
+#DEBHELPER#
diff --git a/debian/puppet.preinst b/debian/puppet.preinst
new file mode 100644
index 0000000..c97a755
--- /dev/null
+++ b/debian/puppet.preinst
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# Remove renamed configuration files which are now handled by other
+# packages
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
+
+ dpkg-maintscript-helper rm_conffile \
+ /etc/logrotate.d/puppet 2.6.4-2 puppet -- "$@"
+
+ dpkg-maintscript-helper rm_conffile \
+ /etc/logcheck/ignore.d.server/puppet 2.6.4-2 puppet -- "$@"
+
+ dpkg-maintscript-helper rm_conffile \
+ /etc/emacs/site-start.d/50puppet-mode-init.el 2.6.4-2 puppet -- "$@"
+
+fi
+
+#DEBHELPER#
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list