diff options
author | tron <tron@pkgsrc.org> | 2001-07-12 06:05:28 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-07-12 06:05:28 +0000 |
commit | 07a00d05ad802b21ebdd9b415d2a3172eed8560b (patch) | |
tree | db29433d3d9bfe2596b5dab39b616bc4a5858bf1 /mail/mutt-devel | |
parent | d3a563ebb6ec6f9f181fd9dd037c7cf878a49def (diff) | |
download | pkgsrc-07a00d05ad802b21ebdd9b415d2a3172eed8560b.tar.gz |
Use "cmp -s" instead of "diff -q" to compare configuration files because
the later one doesn't work under Solaris.
Diffstat (limited to 'mail/mutt-devel')
-rw-r--r-- | mail/mutt-devel/pkg/DEINSTALL | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mutt-devel/pkg/DEINSTALL b/mail/mutt-devel/pkg/DEINSTALL index a19377020bc..e9c0723d52f 100644 --- a/mail/mutt-devel/pkg/DEINSTALL +++ b/mail/mutt-devel/pkg/DEINSTALL @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: DEINSTALL,v 1.1 2001/06/20 07:46:13 jlam Exp $ +# $NetBSD: DEINSTALL,v 1.2 2001/07/12 06:05:29 tron Exp $ PKGNAME=$1 STAGE=$2 @@ -22,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 |