Re: alternative packaging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 1, 2013 at 5:56 AM, Christopher Meng <cickumqt@xxxxxxxxx> 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.
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux