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