Subject: pkg/24225: missing directories in lang/tcl-otcl/PLIST
To: None <gnats-bugs@gnats.NetBSD.org>
From: Min Sik Kim <minskim@bawi.org>
List: netbsd-bugs
Date: 01/24/2004 22:02:11
>Number:         24225
>Category:       pkg
>Synopsis:       missing directories in lang/tcl-otcl/PLIST
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 25 04:03:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Min Sik Kim
>Release:        NetBSD 1.6ZH
>Organization:
>Environment:
>Description:
When deinstalled, lang/tcl-otcl does not remove the following tow
directories it created.

  share/doc/tcl
  share/doc/html/tcl

>How-To-Repeat:
Install and deinstall tcl-otcl, and see ${PREFIX}/share/doc and
${PREFIX}/share/doc/html.

>Fix:

Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/lang/tcl-otcl/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- PLIST	2002/08/28 09:57:34	1.1.1.1
+++ PLIST	2004/01/25 03:57:22
@@ -15,4 +15,6 @@
 share/doc/html/tcl/otcl/tutorial.html
 share/doc/tcl/otcl/otcl-paper.ps.gz
 @dirrm share/doc/tcl/otcl
+@unexec ${RMDIR} %D/share/doc/tcl 2>/dev/null || ${TRUE}
 @dirrm share/doc/html/tcl/otcl
+@unexec ${RMDIR} %D/share/doc/html/tcl 2>/dev/null || ${TRUE}
>Release-Note:
>Audit-Trail:
>Unformatted:
 Environment:
 System: NetBSD sulley.infnis.com 1.6ZH NetBSD 1.6ZH (SULLEY) #3: Fri Jan 16 16:57:45 CST 2004 root@sulley.infnis.com:/usr/obj/sys/arch/i386/compile/SULLEY i386
 Architecture: i386
 Machine: i386