[Fedora-packaging] alternative packaging
nkadel at gmail.com
Mon Jul 1 11:20:05 UTC 2013
On Mon, Jul 1, 2013 at 5:56 AM, Christopher Meng <cickumqt at gmail.com> wrote:
> Hi all,
> Can I use %postun instead of %preun to remove alternatives?
I don't recommend it. If the %postun fails, for whatever reason, the
RPM is already reported as "uninstalled" and the scripts won't easily
get run again or report the problem. It's like unplugging the cord
*before* you move the lamp, it's just safer.
More information about the packaging