Skip to content

Commit

Permalink
FIXED: pack_install/2: may try to delete old pack twice.
Browse files Browse the repository at this point in the history
  • Loading branch information
JanWielemaker committed Jan 29, 2024
1 parent 525b4ae commit 4eb8604
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions library/prolog_pack.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1817,8 +1817,7 @@
( empty_directory(Dir)
-> true
; remove_existing_pack(Dir, Options)
-> delete_directory_and_contents(Dir),
make_directory(Dir)
-> make_directory(Dir)
).
prepare_pack_dir(Dir, _) :-
( read_link(Dir, _, _)
Expand Down

0 comments on commit 4eb8604

Please sign in to comment.