From 30505f77519b2c6768d3cf13b2209549cfd3f204 Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Tue, 17 Mar 2020 15:11:53 +0200 Subject: [PATCH] Update pihole only if using the pihole distribution (fix #373) (#375) --- src/steps/os/linux.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/steps/os/linux.rs b/src/steps/os/linux.rs index 17ee937b..4ef6e369 100644 --- a/src/steps/os/linux.rs +++ b/src/steps/os/linux.rs @@ -446,6 +446,7 @@ pub fn run_snap(sudo: Option<&PathBuf>, run_type: RunType) -> Result<()> { pub fn run_pihole_update(sudo: Option<&PathBuf>, run_type: RunType) -> Result<()> { let sudo = require_option(sudo)?; let pihole = require("pihole")?; + Path::new("/opt/pihole/update.sh").require()?; print_separator("pihole");