From 2de631c40953a534b91a2354b01850e4a38c4e09 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Fri, 8 Dec 2023 14:33:54 +0100 Subject: [PATCH] Updated setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 77e21689..47e21bb2 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ log = logging.getLogger(__name__) def install_file(source_filename, dest_filename): # do not overwrite network configuration if it exists already # https://github.com/evilsocket/pwnagotchi/issues/483 - if dest_filename.startswith('/root/') and os.path.exists(dest_filename): + if dest_filename.startswith('/etc/network/interfaces.d/') and dest_filename.startswith('/root/') and os.path.exists(dest_filename): log.info(f"{dest_filename} exists, skipping ...") return