]> git.proxmox.com Git - pve-access-control.git/blame - debian/postinst
bump version to 8.1.3
[pve-access-control.git] / debian / postinst
CommitLineData
3a981902
FG
1#!/bin/sh
2
3set -e
4
5#DEBHELPER#
6
7case "$1" in
8 configure)
243262f1
TL
9 if test -n "$2"; then
10
11 # TODO: remove once PVE 7.0 is released
12 if dpkg --compare-versions "$2" 'lt' '6.0-0+1'; then
13 if test ! -e /etc/pve/authkey.pub.old; then
14 # reset key age to prevent immediate invalidation of all current tickets
15 touch -d "-2 hours" /etc/pve/authkey.pub || true
16 fi
17 fi
18
19 fi
3a981902
FG
20 ;;
21
22esac
23
24exit 0