[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #8664] pkg: after installing a pkg, tell p
From: |
Kai Torben Ohlhus |
Subject: |
[Octave-patch-tracker] [patch #8664] pkg: after installing a pkg, tell people how to load it |
Date: |
Sat, 18 Jan 2020 06:22:02 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 |
Update of patch #8664 (project octave):
Category: None => Core : new feature
Priority: 5 - Normal => 3 - Low
Status: None => Wont Do
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #3:
Review for Octave 6.
Rather short patch
# HG changeset patch
# User Colin Macdonald <address@hidden>
# Date 1430404512 -3600
# Thu Apr 30 15:35:12 2015 +0100
# Node ID 522bfe4f2d2773442ef79875836416e3b69a3324
# Parent 3797df9219887163675da937e707536d0cfe55ce
pkg: after installing a pkg, tell people how to load it
Hopefully reduces email from people saying they installed a package
but "it doesn't work".
diff -r 3797df921988 -r 522bfe4f2d27 scripts/pkg/private/install.m
--- a/scripts/pkg/private/install.m Wed Apr 29 17:09:24 2015 -0700
+++ b/scripts/pkg/private/install.m Thu Apr 30 15:35:12 2015 +0100
@@ -335,10 +335,12 @@
## If there is a NEWS file, mention it.
## Check if desc exists too because it's possible to get to this point
## without creating it such as giving an invalid filename for the package
- if (exist ("desc", "var")
- && exist (fullfile (desc.dir, "packinfo", "NEWS"), "file"))
- printf ("For information about changes from previous versions of the %s
package, run 'news %s'.\n",
- desc.name, desc.name);
+ if (exist ("desc", "var"))
+ printf ("Run 'pkg load %s' to use this package.\n", desc.name);
+ if (exist (fullfile (desc.dir, "packinfo", "NEWS"), "file"))
+ printf ("Run 'news %s' for information about changes from previous
versions.\n",
+ desc.name);
+ endif
endif
endfunction
But not interest for five years. Thus closing this item.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/patch/?8664>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-patch-tracker] [patch #8664] pkg: after installing a pkg, tell people how to load it,
Kai Torben Ohlhus <=