pve-access-control/debian/postinst
Thomas Lamprecht f7282aee6b fixup: touch date format does not understands abbreviations
this did not worked as touch did not worked with the abbreviated 'h'
for 'hour' or 'hours'

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-14 11:18:43 +01:00

26 lines
502 B
Bash
Executable File

#!/bin/sh
set -e
#DEBHELPER#
case "$1" in
configure)
# TODO: enable for PVE 6.0
# if test -n "$2"; then
#
# # TODO: remove once PVE 7.0 is released
# if dpkg --compare-versions "$2" 'lt' '6.0-1'; then
# if test ! -e /etc/pve/authkey.pub.old; then
# # reset key age to prevent immediate invalidation of all current tickets
# touch -d "-2 hours" /etc/pve/authkey.pub || true
# fi
# fi
#
# fi
;;
esac
exit 0