freebsd-ports/x11/wrapper
Peter Pentchev c9aeee376d Fix package deinstallation: only move X.bck over X if the former exists.
Since pkg_deinstall(1) invokes the package deinstall script twice,
at the second invocation X.bck is no longer there, and mv(1), even with
the -f flag, returns a non-zero exit code.  The shell executing the script
propagates this exit code right back unto pkg_deinstall(1), which complains
and aborts the package deinstallation.

I wish I had not forgotten about this problem, so this could go in
before DP1 was cut :(

Approved by:	no response from trevor@, the port maintainer
2002-04-11 11:56:55 +00:00
..
files
Makefile Fix package deinstallation: only move X.bck over X if the former exists. 2002-04-11 11:56:55 +00:00
pkg-comment describe this port is for XFree86-4 only. 2001-05-30 15:33:02 +00:00
pkg-deinstall Fix package deinstallation: only move X.bck over X if the former exists. 2002-04-11 11:56:55 +00:00
pkg-descr Update my e-mail address. 2002-03-11 12:14:33 +00:00
pkg-install Add precautions so this won't damage an installation of XFree86 3.X. 2002-03-11 13:04:28 +00:00