Skip to content

Commit

Permalink
minor changes to info printed upon package installation
Browse files Browse the repository at this point in the history
  • Loading branch information
acp29 committed Apr 2, 2024
1 parent 651b027 commit f6e6e92
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions install.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@
end

% Notify user that installation is complete
disp ('The statistics-resampling package has been installed at the current location ')
d = struct;
d.dir = inst_dir;
post_install (d);

% Clean up
clear info isoctave S comment octaverc fid msg inst_dir
clear info isoctave S comment octaverc fid msg inst_dir d

6 changes: 3 additions & 3 deletions post_install.m
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
function post_install (d)

fprintf ('The statistics-resampling package was installed into the directory:\n');
fprintf ('%s.\n', d.dir);
fprintf ('License and copyright information can be found in ');
fprintf ('\"packinfo/COPYING\"\n');
fprintf ('%s\n', d.dir);
fprintf ('License and copyright information can be found at:\n');
fprintf ('https://github.com/gnu-octave/statistics-resampling/blob/master/COPYING\n');

end
2 changes: 1 addition & 1 deletion uninstall.m
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@


% Notify user that uninstall is complete
disp ('This statistics-resampling package has been uninstalled from this location')
fprintf ('The statistics-resampling package was uninstalled from the directory:\n%s\n', inst_dir)

% Clean up
clear info isoctave S comment octaverc fid msg inst_dir

0 comments on commit f6e6e92

Please sign in to comment.