https://bugzilla.novell.com/show_bug.cgi?id=354982
User ro@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=354982#c8
--- Comment #8 from Ruediger Oertel 2008-01-28 17:56:21 MST ---
cleanly: not at all. rpm is not cleanly able to do this.
hackish: something like this:
---------------------------------------------
%pre
# code to copy the files to a backup location
if test ! -L /etc/splashy/themes ; then
cp -a /etc/splashy/themes /etc/splashy/themes.backup
fi
%triggerpostun -- splashy < 0.3.8
# code to copy the files back where they belong
if test -d /etc/splashy/themes.backup ; then
cp -a /etc/splashy/themes.backup/* /usr/share/splashy/themes
fi
------------------------------------------------
--
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.