Bugs item #1144023, was opened at 2005-02-18 11:48 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1144023&group_id=259
Category: packaging Group: v3.2.0 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: dann frazier (dannf) Summary: systemimager-server %preun doesn't handle upgrade case Initial Comment: The systemimager.spec file has a "%preun" clause to handle cleaning up after itself. The %preun clause is mainly dealing w/ the removal of the rsync service. The %preun clause is also called when rpm is passed the -U (upgrade) flag. And, during an upgrade, the new package is installed first, and then the old package is removed last. As a result, the %preun code is removing all remnants of the rsync service, even though the package isn't going away. The %preun code should test whether an upgrade operation is underway, and if so, not execute the code to remove the rsync service. The following is an example of how to do this: %preun server if [ "$1" -lt 1 ]; then # this must be a remove operation, so clean up the rsync stuff ... ... ... fi Steve Grandinetti ([EMAIL PROTECTED]) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1144023&group_id=259 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Sisuite-devel mailing list Sisuite-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-devel