From: Thomas Lamprecht Date: Thu, 14 Mar 2019 10:14:52 +0000 (+0100) Subject: fixup: touch date format does not understands abbreviations X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=commitdiff_plain;h=f7282aee6b2ae36b7cfc2331e33e49a818b914fd 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 --- diff --git a/debian/postinst b/debian/postinst index 3dfc19c..62dbfbc 100755 --- a/debian/postinst +++ b/debian/postinst @@ -13,7 +13,7 @@ case "$1" in # 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 +# touch -d "-2 hours" /etc/pve/authkey.pub || true # fi # fi #