Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 15192] modified config files reaped after two recasts

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 15192] modified config files reaped after two recasts
  • Date: 27 May 2009 17:13:35 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=15192


Jaka Kranjc <svn AT lynxlynx.info> changed:

What |Removed |Added
----------------------------------------------------------------------------
Version|Untargetted future release |1.15.x




--- Comment #10 from Jaka Kranjc <svn AT lynxlynx.info> 2009-05-27 12:13:33 ---
Maybe always running mark_file_modified would do it. Currently it is only ran
if the file is detected as changed. So if this works, it is confirmed that
check_if_modified in _init_install_conf_files is bad. Since there is no
md5_log
parameter, it compares the file to the installed md5sum list, not the stage
one
(which doesn't exist yet).

if [[ $STAGED_INSTALL == on ]]; then
mark_file_modified $2
else
track_manual $2
fi

The proper solution would be to create a temporary md5 list for the config
files in _init_install_conf_files and use that for check_if_modified. Only if
staging is on, of course.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




Archive powered by MHonArc 2.6.24.

Top of Page