Perform os_check during update, in case the user has updated to an unsupported OS between Pi-hole updates.

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner 2024-12-31 15:31:04 +00:00
parent b0e0bdc436
commit bd9cb00574
No known key found for this signature in database

View file

@ -107,6 +107,9 @@ main() {
web_update=false web_update=false
FTL_update=false FTL_update=false
# Perform an OS check to ensure we're on an appropriate operating system
os_check
# Install packages used by this installation script (necessary if users have removed e.g. git from their systems) # Install packages used by this installation script (necessary if users have removed e.g. git from their systems)
package_manager_detect package_manager_detect
build_dependency_package build_dependency_package