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