summaryrefslogtreecommitdiff
path: root/www/surfraw
diff options
context:
space:
mode:
authorjlam <jlam>2001-11-06 22:50:13 +0000
committerjlam <jlam>2001-11-06 22:50:13 +0000
commit994336ea33730fa88b4f51f933997469c4e7d00b (patch)
treef666d6738fda6365e5ed696435480dadcdf24bed /www/surfraw
parent380195be76647bc919742b3fe26a0b11e51e3711 (diff)
downloadpkgsrc-994336ea33730fa88b4f51f933997469c4e7d00b.tar.gz
Properly check for remaining config files after deinstalling.
Diffstat (limited to 'www/surfraw')
-rw-r--r--www/surfraw/DEINSTALL5
1 files changed, 2 insertions, 3 deletions
diff --git a/www/surfraw/DEINSTALL b/www/surfraw/DEINSTALL
index 0fea348ec35..33d0367f43e 100644
--- a/www/surfraw/DEINSTALL
+++ b/www/surfraw/DEINSTALL
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: DEINSTALL,v 1.2 2001/11/06 10:58:03 jlam Exp $
+# $NetBSD: DEINSTALL,v 1.3 2001/11/06 22:50:13 jlam Exp $
PKGNAME=$1
STAGE=$2
@@ -38,9 +38,8 @@ DEINSTALL)
POST-DEINSTALL)
modified_files=''
- for file in ${CONFFILES}
+ ${ECHO} ${CONFFILES} | ${TR} ":" "\012" | while read SAMPLEFILE FILE
do
- FILE=${CONFDIR}/${file}
if [ -f ${FILE} ]
then
modified_files="${modified_files} ${FILE}"