# HG changeset patch # User Mike Miller # Date 1524601760 25200 # Node ID a6419af900314b3728c94913dc0161afe4727489 # Parent 47c803b4b8aee6b56e4a4a853eee6630237fa1e2 pkg: restore deletion of package archive downloaded from Octave Forge * pkg.m: Restore code to delete all downloaded files, whether they were downloaded to a temporary directory or not. Fixes regression introduced in cset 0cd7076a97c8. diff -r 47c803b4b8ae -r a6419af90031 scripts/pkg/pkg.m --- a/scripts/pkg/pkg.m Tue Apr 24 10:43:39 2018 -0700 +++ b/scripts/pkg/pkg.m Tue Apr 24 13:29:20 2018 -0700 @@ -438,6 +438,7 @@ global_list, global_install); unwind_protect_cleanup + cellfun ("unlink", local_files); if (exist (tmp_dir, "file")) rmdir (tmp_dir, "s"); endif