postinst: support newer apt key handling

git-svn-id: https://svn.fhem.de/fhem/trunk@29864 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen
2025-04-15 14:31:20 +00:00
parent 4b1ef00a0d
commit 7c30e47d8f

View File

@@ -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