Update index.html modification time when installing debian package
This commit is contained in:
parent
9a20c7891f
commit
0a4c2d3d7a
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ case "$1" in
|
||||||
if ! getent passwd mitra > /dev/null; then
|
if ! getent passwd mitra > /dev/null; then
|
||||||
adduser --system --group --home /var/lib/mitra mitra
|
adduser --system --group --home /var/lib/mitra mitra
|
||||||
fi
|
fi
|
||||||
|
# Update modification time to refresh nginx cache
|
||||||
|
touch /usr/share/mitra/www/index.html
|
||||||
;;
|
;;
|
||||||
|
|
||||||
abort-upgrade|abort-remove|abort-deconfigure)
|
abort-upgrade|abort-remove|abort-deconfigure)
|
||||||
|
|
Loading…
Reference in a new issue