From 87839852a603a2c8c70dd6613f99c5cfe2a93bae Mon Sep 17 00:00:00 2001 From: Christophe Siraut Date: Tue, 28 Apr 2020 10:52:39 +0200 Subject: [PATCH] debian/postinst: set permission for publik.conf example --- debian/postinst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 debian/postinst diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..a97f1fe --- /dev/null +++ b/debian/postinst @@ -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