diff options
Diffstat (limited to 'debian/bcfg2.postinst')
-rw-r--r-- | debian/bcfg2.postinst | 5 |
1 files changed, 5 insertions, 0 deletions
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) |