aboutsummaryrefslogtreecommitdiff
path: root/x11/wrapper
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2002-04-11 11:56:55 +0000
committerPeter Pentchev <roam@FreeBSD.org>2002-04-11 11:56:55 +0000
commitc9aeee376d68ea366dc6605d3d154b3a72941a14 (patch)
treefa2ffc411353a0001bbc3ae5cc2c46463a670438 /x11/wrapper
parent551829631960a918429d61515f2120e5a12d28fd (diff)
downloadports-c9aeee376d68ea366dc6605d3d154b3a72941a14.tar.gz
ports-c9aeee376d68ea366dc6605d3d154b3a72941a14.zip
Notes
Diffstat (limited to 'x11/wrapper')
-rw-r--r--x11/wrapper/Makefile2
-rw-r--r--x11/wrapper/pkg-deinstall4
2 files changed, 4 insertions, 2 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
diff --git a/x11/wrapper/pkg-deinstall b/x11/wrapper/pkg-deinstall
index c6760606424c..7b96fa96538b 100644
--- a/x11/wrapper/pkg-deinstall
+++ b/x11/wrapper/pkg-deinstall
@@ -1,2 +1,4 @@
#!/bin/sh
-mv -f ${PKG_PREFIX}/bin/X.bck ${PKG_PREFIX}/bin/X
+if [ -e ${PKG_PREFIX}/bin/X.bck ]; then
+ mv ${PKG_PREFIX}/bin/X.bck ${PKG_PREFIX}/bin/X
+fi