debian/postinst: set permission for publik.conf example

This commit is contained in:
Christophe Siraut 2020-04-28 10:52:39 +02:00
parent 8341a35b1e
commit 87839852a6
1 changed files with 23 additions and 0 deletions

23
debian/postinst vendored Normal file
View File

@ -0,0 +1,23 @@
#! /bin/sh
set -e
case "$1" in
configure)
chmod 600 /etc/publik/publik.conf.example
;;
triggered)
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0