Skip to content

Commit

Permalink
No need to stop docker beforehand
Browse files Browse the repository at this point in the history
  • Loading branch information
ikifar2012 authored Dec 20, 2023
1 parent 463d288 commit eb9a17f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions homeassistant-supervised/DEBIAN/preinst
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,6 @@ if [[ "$(docker ps -aq -f name=hassio_supervisor)" ]]; then
docker container rm --force hassio_supervisor > /dev/null
fi

# If docker is running, stop it
if [[ "$(systemctl is-active docker.service)" == "active" ]]; then
info "Stopping Docker service"
systemctl stop docker.service
fi

dpkg-divert --package homeassistant-supervised --add --rename \
--divert /etc/NetworkManager/NetworkManager.conf.real /etc/NetworkManager/NetworkManager.conf

Expand Down

0 comments on commit eb9a17f

Please sign in to comment.