Subject: pkg/5366: py-Numeric PLIST has unnecessary dirrm entry
To: None <gnats-bugs@gnats.netbsd.org>
From: Jaromir Dolecek <dolecek@ics.muni.cz>
List: netbsd-bugs
Date: 04/27/1998 05:20:25
>Number:         5366
>Category:       pkg
>Synopsis:       py-Numeric PLIST has unnecessary dirrm entry
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 26 20:35:00 1998
>Last-Modified:
>Originator:     Jaromir Dolecek
>Organization:
	ICS MU, Brno, Czech Republic
>Release:        1.3.1
>Environment:
	
System: NetBSD saruman.ics.muni.cz 1.3.1 NetBSD 1.3.1 (SARUMAN) #0: Sun Apr 19 16:15:24 MEST 1998 dolecek@saruman.ics.muni.cz:/usr/home/dolecek/N131/usr/src/sys/arch/i386/compile/SARUMAN i386


>Description:
	The PLIST contains directive
	@dirrm lib/python1.5/site-packages
	This directory is used to install all site-specific python modules.
	
	If you try to pkg_delete py-Numeric package and there are some
	other modules installed besides py-Numeric, the directory wouldn't
	be empty and pkg_delete issues a warning it can't delete it.
>How-To-Repeat:
	cd /usr/pkgsrc/math/py-Numeric
	make install
	pkg_delete py-Numeric-1.1

	watch the warning
>Fix:
--- pkg/PLIST.orig	Mon Apr 27 05:03:40 1998
+++ pkg/PLIST	Mon Apr 27 05:03:47 1998
@@ -33,7 +33,7 @@
 lib/python1.5/site-packages/UserArray.py
 lib/python1.5/site-packages/UserArray.pyc
 lib/python1.5/site-packages/UserArray.pyo
-@dirrm lib/python1.5/site-packages
+@comment dirrm lib/python1.5/site-packages
 share/doc/py-Numeric/doc.html
 share/doc/py-Numeric/home.html
 @dirrm share/doc/py-Numeric
>Audit-Trail:
>Unformatted: