Mailinglist Archive: opensuse-bugs (15049 mails)

< Previous Next >
[Bug 245776] gconf2 %pre scriptlet broken
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 12 Sep 2007 11:32:32 -0600 (MDT)
  • Message-id: <20070912173232.AB30D245350@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=245776#c6


Stanislav Brabec <sbrabec@xxxxxxxxxx> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                                        |RESOLVED
         Resolution|                                                |FIXED




--- Comment #6 from Stanislav Brabec <sbrabec@xxxxxxxxxx>  2007-09-12 11:32:32 MST ---
mkdir is inside first "if". Second "if" will perform either nested "if" or
"else" in any case, so the place is correct.

Using mv -T is a good idea.

Adding " || :" to mv -T - one never knows, what users' system contains and we
should be on safe side in any case.

If user installed only SuSE packages, everything should succeed without any
orphans.

If user installation is somehow suspicious (e. g. has
/etc/gconf/gconf.xml.defaults was existing before upgrade), mv will fail, but
scriptlet will still end by success exit status. Scriptlet will keep orphans
then and user should merge both directories manually.

I guess we are now on safe side.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
This Thread
  • No further messages