Bug 9344 - "%triggerun nox -- emacs-X11" doesn't work
Summary: "%triggerun nox -- emacs-X11" doesn't work
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: emacs
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Cristian Gafton
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-02-11 14:33 UTC by Matthew Campbell
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-02-16 23:20:45 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.