From af47f8b3544f7a3fcb0af2e9163b0c1466f90d78 Mon Sep 17 00:00:00 2001 From: Adam Gausmann Date: Tue, 11 Apr 2023 14:00:32 -0500 Subject: [PATCH] Fix crash in is_outdated if host file does not exist. --- install.py | 1 + 1 file changed, 1 insertion(+) diff --git a/install.py b/install.py index 8ec44ce..0a1ddf2 100755 --- a/install.py +++ b/install.py @@ -42,6 +42,7 @@ def is_outdated(src: List[Path], dst: Path) -> bool: return any( a_src.stat().st_mtime > dst_modified for a_src in src + if a_src.exists() )