summaryrefslogtreecommitdiff
path: root/libpiny/debian
diff options
context:
space:
mode:
Diffstat (limited to 'libpiny/debian')
-rwxr-xr-xlibpiny/debian/libpiny-perl.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpiny/debian/libpiny-perl.postinst b/libpiny/debian/libpiny-perl.postinst
index 768daa8..6515819 100755
--- a/libpiny/debian/libpiny-perl.postinst
+++ b/libpiny/debian/libpiny-perl.postinst
@@ -9,8 +9,8 @@ case "$1" in
if [ ! -f /etc/libpiny.key ]; then
umask 0137
dd if=/dev/urandom of=/etc/libpiny.key bs=512 count=1
+ chgrp www-data /etc/libpiny.key
fi
- chgrp www-data /etc/libpiny.key
chmod g+r /etc/libpiny.key # Updating an old umask
;;