Skip to content

Commit

Permalink
FIXED: Installing a pack should attach the pack itself.
Browse files Browse the repository at this point in the history
This incorrectly registered the directory of the pack as a directory
that provides packs instead.
  • Loading branch information
JanWielemaker committed Nov 4, 2024
1 parent 4ca7e8c commit d1defee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/prolog_pack.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1491,7 +1491,7 @@

%! attach_from_info(+Options, +Info) is det.
%
% Make the package visible. Similar to pack_make_available/3.
% Make the package visible.

attach_from_info(_Options, Info) :-
Info.get(keep) == true,
Expand Down Expand Up @@ -2200,7 +2200,7 @@
pack_post_install(Pack, PackDir, Options) :-
post_install_foreign(Pack, PackDir, Options),
post_install_autoload(PackDir, Options),
attach_packs(PackDir, [duplicate(warning)]).
pack_attach(PackDir, [duplicate(warning)]).

%! pack_rebuild is det.
%! pack_rebuild(+Pack) is det.
Expand Down

0 comments on commit d1defee

Please sign in to comment.