From 0a4c2d3d7ac600c06f22c3902fa70a73645ea304 Mon Sep 17 00:00:00 2001 From: silverpill Date: Fri, 13 May 2022 21:53:23 +0000 Subject: [PATCH] Update index.html modification time when installing debian package --- contrib/debian/postinst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/debian/postinst b/contrib/debian/postinst index f9a00c3..3d1744e 100644 --- a/contrib/debian/postinst +++ b/contrib/debian/postinst @@ -7,6 +7,8 @@ case "$1" in if ! getent passwd mitra > /dev/null; then adduser --system --group --home /var/lib/mitra mitra fi + # Update modification time to refresh nginx cache + touch /usr/share/mitra/www/index.html ;; abort-upgrade|abort-remove|abort-deconfigure)