From 7c30e47d8f66ac4a1f1d94f78f1fed77201989a5 Mon Sep 17 00:00:00 2001 From: betateilchen Date: Tue, 15 Apr 2025 14:31:20 +0000 Subject: [PATCH] postinst: support newer apt key handling git-svn-id: https://svn.fhem.de/fhem/trunk@29864 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DEBIAN/postinst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fhem/contrib/DEBIAN/postinst b/fhem/contrib/DEBIAN/postinst index 438413a4a..52732efa1 100644 --- a/fhem/contrib/DEBIAN/postinst +++ b/fhem/contrib/DEBIAN/postinst @@ -11,7 +11,11 @@ fi chown -R fhem:dialout /opt/fhem # remove repository entry after first installation +echo "removing repo from sources" sed -i /debian.fhem.de/d /etc/apt/sources.list +if [ -f /etc/apt/sources.list.d/debianfhemde.list ] then + rm /etc/apt/sources.list.d/debianfhemde.list +fi # set up of autostart # systemd: supported