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:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user