From f72fbcfd43e42c4e315dbd54b070c5b1a22b7f15 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Sun, 10 Nov 2024 16:09:16 +0100 Subject: [PATCH] remove tar1090 sh before replacing it --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index d12d8e2..abbf413 100755 --- a/install.sh +++ b/install.sh @@ -223,6 +223,7 @@ if ! diff tar1090.sh "$ipath"/tar1090.sh &>/dev/null; then systemctl stop "$service" 2>/dev/null || true fi done < <(echo "$instances") + rm -f "$ipath"/tar1090.sh cp tar1090.sh "$ipath" fi