#!/bin/sh set -e #DEBHELPER# case "$1" in configure) if test -n "$2"; then # TODO: remove once PVE 7.0 is released if dpkg --compare-versions "$2" 'lt' '6.0-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