Skip to content

Commit

Permalink
admit switching off interactive mode
Browse files Browse the repository at this point in the history
pass on the `interactive` flag from `InstallPackage`
also to `InstallPackageFromGit` and `InstallPackageFromHg`,
not only to `InstallPackageFromName`
  • Loading branch information
ThomasBreuer committed Jun 18, 2024
1 parent cf58d17 commit ff3305c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gap/PackageManager.gi
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ function(string, args...)
if ForAny(PKGMAN_ArchiveFormats, ext -> EndsWith(string, ext)) then
return InstallPackageFromArchive(string);
elif EndsWith(string, ".git") then
return InstallPackageFromGit(string);
return InstallPackageFromGit(string, interactive);
elif EndsWith(string, ".hg") then
return InstallPackageFromHg(string);
return InstallPackageFromHg(string, interactive);
elif EndsWith(string, "PackageInfo.g") then
return InstallPackageFromInfo(string);
fi;
Expand Down

0 comments on commit ff3305c

Please sign in to comment.