Mantis - cswclassutils
Viewing Issue Advanced Details
4143 regular use tweak have not tried 2010-01-11 11:43 2010-03-30 16:26
yann  
bonivart  
normal  
closed  
fixed  
none    
none  
0004143: cswmigrateconf should print the warning only when necessary

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.
related to 0004133closed yann screen Color support impaired, screen windows default to TERM=vt100 
Issue History
2010-01-11 11:43 yann New Issue
2010-01-14 17:51 maciej Issue Monitored: maciej
2010-01-15 10:09 maciej Note Added: 0007241
2010-01-15 10:36 bonivart Status new => assigned
2010-01-15 10:36 bonivart Assigned To => bonivart
2010-01-15 10:37 bonivart Note Added: 0007242
2010-01-22 21:44 yann Note Added: 0007310
2010-01-26 13:24 bonivart Note Added: 0007350
2010-02-11 19:04 bonivart Note Added: 0007426
2010-03-05 12:39 skayser Note Added: 0007602
2010-03-10 20:06 bonivart Note Added: 0007620
2010-03-10 20:06 bonivart Status assigned => resolved
2010-03-10 20:06 bonivart Resolution open => fixed
2010-03-30 16:26 bonivart Status resolved => closed
2010-04-08 10:06 skayser Relationship added related to 0004133

Notes
(0007241)
maciej   
2010-01-15 10:09   
Code fixed in r8009. (and checksums for files with Id tags in r8010)
(0007242)
bonivart   
2010-01-15 10:37   
Thanks Maciej, this will be released with the next update of the cswclassutils package.
(0007310)
yann   
2010-01-22 21:44   
Will the next update of classutils be published soon ?
(0007350)
bonivart   
2010-01-26 13:24   
Soonish... :-)

There's a few other things we want to fix at the same time (release).
(0007426)
bonivart   
2010-02-11 19:04   
Version 1.33 of cswclassutils is in testing now and contains this fix. Please test and provide some feedback.
(0007602)
skayser   
2010-03-05 12:39   
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.
(0007620)
bonivart   
2010-03-10 20:06   
Waiting for release.