X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=3dfc19c89959811a9903b6e534781bcd0490c973;hp=0000000000000000000000000000000000000000;hb=3a98190257c50c2c829ab5049c441dc7ff3f0ef6;hpb=03593f3d0133937b5ac7698a1cb25a9611c40101 diff --git a/debian/postinst b/debian/postinst new file mode 100755 index 0000000..3dfc19c --- /dev/null +++ b/debian/postinst @@ -0,0 +1,25 @@ +#!/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 "-2h" /etc/pve/authkey.pub 2>/dev/null || true +# fi +# fi +# +# fi + ;; + +esac + +exit 0