diff --git a/src/install.rs b/src/install.rs index 54482ec7c4713f1107544ef378651052b91477c1..1ef3c8b3784ca05be02f7a66f860d58ed6234edf 100644 --- a/src/install.rs +++ b/src/install.rs @@ -69,7 +69,7 @@ fn install_packages(config: &Config, dest: &str, cookbook: Option<&str>) { repo.add_remote(REMOTE); if let Some(cookbook) = cookbook { - let status = Command::new("./update-packages.sh") + let status = Command::new("./repo.sh") .current_dir(cookbook) .args(config.packages.keys()) .spawn() @@ -78,7 +78,7 @@ fn install_packages(config: &Config, dest: &str, cookbook: Option<&str>) { .unwrap(); if !status.success() { - write!(stderr(), "./update-package.sh failed.").unwrap(); + write!(stderr(), "./repo.sh failed.").unwrap(); process::exit(1); }