Bug 9344

Summary: "%triggerun nox -- emacs-X11" doesn't work
Product: [Retired] Red Hat Linux Reporter: Matthew Campbell <mattcamp>
Component: emacsAssignee: Cristian Gafton <gafton>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-02-16 23:20:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthew Campbell 2000-02-11 14:33:50 UTC
When the emacs-X11 package is removed, a trigger in the emacs-nox package is supposed to put the symbolic link from /usr/bin/emacs to /usr/bin/emacs-nox back in place.  However, this trigger runs *before* emacs-X11 is removed, so the symlink is replaced, and then /usr/bin/emacs is removed, cancelling what the trigger just did.

The solution is to make the trigger run *after* removing emacs-X11, by replacing "%triggerun" with "%triggerpostun".

Comment 1 Cristian Gafton 2000-02-16 23:20:59 UTC
Fixed in the devel tree.