[bug-notifications] [cswclassutils 0004143]: cswmigrateconf should print the warning only when necessary
Mantis Bug Tracker
noreply at opencsw.org
Fri Mar 5 12:39:36 CET 2010
A NOTE has been added to this issue.
======================================================================
http://www.opencsw.org/mantis/view.php?id=4143
======================================================================
Reported By: yann
Assigned To: bonivart
======================================================================
Project: cswclassutils
Issue ID: 4143
Category: regular use
Reproducibility: have not tried
Severity: tweak
Priority: normal
Status: assigned
======================================================================
Date Submitted: 2010-01-11 11:43 CET
Last Modified: 2010-03-05 12:39 CET
======================================================================
Summary: cswmigrateconf should print the warning only when
necessary
Description:
Currently, cswmigrateconf seems to always print the migration warning,
i.e.:
"*******************************************************************"
"* Configuration files are going to be migrated from the deprecated "
"* location (/opt/csw/etc) to the new location (/etc/opt/csw). "
"* "
"* Migration will continue in 10 seconds. "
"* Press CTRL+C if you want to stop now. "
"*******************************************************************"
It would be nicer if the class script could only print the message if
there is really something to migrate.
======================================================================
----------------------------------------------------------------------
(0007602) skayser (administrator) - 2010-03-05 12:39
http://www.opencsw.org/mantis/view.php?id=4143#c7602
----------------------------------------------------------------------
Looks good. Tested with cswclassutils 1.34 from experimental/bonivart and
screen from experimental/yann on a system without a previous screenrc:
[ verifying class <cswmigrateconf> ]
Copying sample config to /etc/opt/csw/screenrc
[ verifying class <cswpreserveconf> ]
Installing class <cswtexinfo> ...
Registering texinfo entry for /opt/csw/share/info/screen.info
Registering texinfo entry for /opt/csw/share/info/screen.info-1
Registering texinfo entry for /opt/csw/share/info/screen.info-2
Registering texinfo entry for /opt/csw/share/info/screen.info-3
Registering texinfo entry for /opt/csw/share/info/screen.info-4
Registering texinfo entry for /opt/csw/share/info/screen.info-5
[ verifying class <cswtexinfo> ]
Installation of <CSWscrn> was successful.
More information about the bug-notifications
mailing list