From ef50e10cba957e4b65723673527e9c5bf02eac39 Mon Sep 17 00:00:00 2001 From: Charles N Wyble Date: Thu, 26 Jun 2025 13:24:19 -0500 Subject: [PATCH] squash squash --- SetupNewSystem.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SetupNewSystem.sh b/SetupNewSystem.sh index e89702c..b08911c 100644 --- a/SetupNewSystem.sh +++ b/SetupNewSystem.sh @@ -160,6 +160,10 @@ sh /tmp/webmin-setup.sh -f && rm -f /tmp/webmin-setup.sh # Setup lynis repo, used for sec ops/compliance +if [ -f /etc/apt/trusted.gpg.d/cisofy-software-public.gpg ]; then +rm -f /etc/apt/trusted.gpg.d/cisofy-software-public.gpg +fi + curl -fsSL https://packages.cisofy.com/keys/cisofy-software-public.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/cisofy-software-public.gpg echo "deb [arch=amd64,arm64 signed-by=/etc/apt/trusted.gpg.d/cisofy-software-public.gpg] https://packages.cisofy.com/community/lynis/deb/ stable main" | sudo tee /etc/apt/sources.list.d/cisofy-lynis.list