summaryrefslogtreecommitdiff
path: root/www/surfraw
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-06 22:50:13 +0000
committerjlam <jlam@pkgsrc.org>2001-11-06 22:50:13 +0000
commitd83f31bd7770633b48684fb21b34714c3cb78204 (patch)
treef666d6738fda6365e5ed696435480dadcdf24bed /www/surfraw
parent3db03d6bef40452dcfd72c464cbc7e990a93cbdf (diff)
downloadpkgsrc-d83f31bd7770633b48684fb21b34714c3cb78204.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}"