aboutsummaryrefslogtreecommitdiff
path: root/scripts/post-install.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-04-27 09:16:18 -0500
committerCraig Jennings <c@cjennings.net>2026-04-27 09:16:18 -0500
commit369ae1d713ad3ed7a2b00c63b81cbb2a07fc0df3 (patch)
treeef3d940c85c3a8404e9be14f833ac2ddb139b902 /scripts/post-install.sh
parent4cd5089180d53ef3b980ad7506bfdd3fda32e9fc (diff)
downloadarchsetup-369ae1d713ad3ed7a2b00c63b81cbb2a07fc0df3.tar.gz
archsetup-369ae1d713ad3ed7a2b00c63b81cbb2a07fc0df3.zip
fix(log-cleanup): handle filenames without YYYY-MM-DD via epoch fallback
If no YYYY-MM-DD matches, the script now looks for a 10-digit epoch between underscores in the filename and converts it via date -d. The existing 24-hour mtime guard still protects the active session log from being deleted while it's still being written to.
Diffstat (limited to 'scripts/post-install.sh')
0 files changed, 0 insertions, 0 deletions