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.
This commit is contained in:
Ben Roberts
2016-03-05 20:17:19 +00:00
parent c3e313ef60
commit cbd7a010ba
+1 -1
View File
@@ -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";