aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wrapper/Makefile
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2002-04-11 19:56:55 +0800
committerroam <roam@FreeBSD.org>2002-04-11 19:56:55 +0800
commit52dc5cecae3ad26772df5740717e07a24aad78c1 (patch)
tree26d2242a6ca2655d217a48718b4dce03b324778a /x11/wrapper/Makefile
parent39af90193d6f0a554a10512b33c9bc8cdd367edd (diff)
downloadfreebsd-ports-gnome-52dc5cecae3ad26772df5740717e07a24aad78c1.tar.gz
freebsd-ports-gnome-52dc5cecae3ad26772df5740717e07a24aad78c1.tar.zst
freebsd-ports-gnome-52dc5cecae3ad26772df5740717e07a24aad78c1.zip
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
Diffstat (limited to 'x11/wrapper/Makefile')
-rw-r--r--x11/wrapper/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/wrapper/Makefile b/x11/wrapper/Makefile
index 90082df81bb8..713cadea2851 100644
--- a/x11/wrapper/Makefile
+++ b/x11/wrapper/Makefile
@@ -7,7 +7,7 @@
PORTNAME= wrapper
PORTVERSION= 1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11
MAINTAINER= trevor@FreeBSD.org