]> git.proxmox.com Git - pve-access-control.git/commitdiff
fixup: touch date format does not understands abbreviations
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 14 Mar 2019 10:14:52 +0000 (11:14 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 14 Mar 2019 10:18:43 +0000 (11:18 +0100)
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>
debian/postinst

index 3dfc19c89959811a9903b6e534781bcd0490c973..62dbfbc09d58b28a00cacefb0eedcb97dae4b7bd 100755 (executable)
@@ -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
 #