From 603402bbe43510ef50a10819e95854d58dd63cc4 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Tue, 20 Feb 2007 02:08:41 +0000 Subject: Debian packaging updates from Ressu git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2853 ce84e21b-d406-0410-9b95-82705330c041 --- debian/bcfg2.postinst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'debian/bcfg2.postinst') diff --git a/debian/bcfg2.postinst b/debian/bcfg2.postinst index ebdef9d6b..3d6e75448 100644 --- a/debian/bcfg2.postinst +++ b/debian/bcfg2.postinst @@ -19,8 +19,13 @@ set -e case "$1" in configure) + OLDUMASK=$(umask) + umask 027 ucf /usr/share/bcfg2/bcfg2.conf /etc/bcfg2.conf + ucfr bcfg2 /etc/bcfg2.conf + umask $OLDUMASK ucf /usr/share/bcfg2/bcfg2.default /etc/default/bcfg2 + ucfr bcfg2 /etc/default/bcfg2 ;; abort-upgrade|abort-remove|abort-deconfigure) -- cgit v1.2.3-1-g7c22