From cbd7a010bab15bde09286d7b0d926ae6eb685ba0 Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Sat, 5 Mar 2016 20:17:19 +0000 Subject: [PATCH] Fix equo query to prevent dependencies being reinstalled Call to equo query puts arg '--quiet' in the wrong place, receiving prettified output which doesn't match string comparisons against package names, leading to all dependencies being reinstalled every time. This commit puts the --quiet arg in to correct place so that only missing dependencies are installed. --- builder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder b/builder index 2ee7b1f..1c41d52 100755 --- a/builder +++ b/builder @@ -63,7 +63,7 @@ sub calculate_missing { # Getting the package dependencies and the installed packages say "[$package] Getting the package dependencies and the installed packages"; my @Packages = package_deps( $package, $depth, 1 ); - my @Installed_Packages = qx/equo q --quiet list installed/; + my @Installed_Packages = qx/equo q list installed --quiet/; chomp(@Installed_Packages); say "[$package] Getting the package dependencies and the installed packages";