From 3aacf1350cccd315a30457006d9374607aab8f12 Mon Sep 17 00:00:00 2001 From: Hugo Sibony Date: Mon, 3 Aug 2026 14:31:10 +0900 Subject: [PATCH] Add tzupdate --- _gtfobins/tzupdate | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 _gtfobins/tzupdate diff --git a/_gtfobins/tzupdate b/_gtfobins/tzupdate new file mode 100644 index 00000000..10882195 --- /dev/null +++ b/_gtfobins/tzupdate @@ -0,0 +1,12 @@ +--- +functions: + file-write: + - code: |- + echo DATA > /path/to/temp-dir/tz + tzupdate -t tz -z /path/to/temp-dir/ -l /path/to/output-file + comment: |- + The output file must already exist and is replaced by a symlink to `/path/to/temp-dir/tz`. Use `-d /path/to/temp-file` to avoid also overwriting `/etc/timezone` on Debian-based systems. + contexts: + sudo: + unprivileged: +...