summaryrefslogtreecommitdiff
path: root/misc/vfu/pkg/DEINSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'misc/vfu/pkg/DEINSTALL')
-rw-r--r--misc/vfu/pkg/DEINSTALL5
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/vfu/pkg/DEINSTALL b/misc/vfu/pkg/DEINSTALL
index 7bdba62b8e2..5ead7ddc074 100644
--- a/misc/vfu/pkg/DEINSTALL
+++ b/misc/vfu/pkg/DEINSTALL
@@ -1,11 +1,12 @@
#!/bin/sh
#
-# $NetBSD: DEINSTALL,v 1.1 2001/06/20 05:27:33 jlam Exp $
+# $NetBSD: DEINSTALL,v 1.2 2001/07/13 07:09:20 jlam Exp $
PKGNAME=$1
STAGE=$2
CAT="@CAT@"
+CMP="@CMP@"
RM="@RM@"
SAMPLECONFDIR=${PKG_PREFIX}/share/examples/vfu
@@ -21,7 +22,7 @@ DEINSTALL)
do
FILE=${CONFDIR}/${file}
SAMPLEFILE=${SAMPLECONFDIR}/${file}
- if diff -q ${FILE} ${SAMPLEFILE} >/dev/null
+ if ${CMP} -s ${FILE} ${SAMPLEFILE}
then
${RM} -f ${FILE}
fi