postinst: prevent error message due to nonexistent sources.list
git-svn-id: https://svn.fhem.de/fhem/trunk@30476 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -12,7 +12,9 @@ chown -R fhem:dialout /opt/fhem
|
||||
|
||||
# remove repository entry after first installation
|
||||
echo "removing repo from sources"
|
||||
if [ -f /etc/apt/sources.list ]; then
|
||||
sed -i /debian.fhem.de/d /etc/apt/sources.list
|
||||
fi
|
||||
if [ -f /etc/apt/sources.list.d/debianfhemde.list ]; then
|
||||
rm /etc/apt/sources.list.d/debianfhemde.list
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user