[bug-notifications] [cswclassutils 0004143]: cswmigrateconf should print the warning only when necessary

Mantis Bug Tracker noreply at opencsw.org
Mon Jan 11 11:43:32 CET 2010


The following issue has been SUBMITTED. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=4143 
====================================================================== 
Reported By:                yann
Assigned To:                
====================================================================== 
Project:                    cswclassutils
Issue ID:                   4143
Category:                   regular use
Reproducibility:            have not tried
Severity:                   tweak
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2010-01-11 11:43 CET
Last Modified:              2010-01-11 11:43 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.

======================================================================




More information about the bug-notifications mailing list