From f45cd74b37a78deb287283fd1f17d6c5e9eb7415 Mon Sep 17 00:00:00 2001 From: wulf Date: Sun, 3 Sep 2000 03:20:28 +0000 Subject: Package will now attempt to delete all directories if found empty - e.g. geneweb was installed but no databases were created. --- databases/geneweb/pkg/PLIST | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'databases') diff --git a/databases/geneweb/pkg/PLIST b/databases/geneweb/pkg/PLIST index 1fa4d835c5a..e5d27c4d266 100644 --- a/databases/geneweb/pkg/PLIST +++ b/databases/geneweb/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2000/08/28 13:54:38 wiz Exp $ +@comment $NetBSD: PLIST,v 1.4 2000/09/03 03:20:28 wulf Exp $ bin/consang bin/ged2gwb bin/gwb2ged @@ -495,3 +495,8 @@ share/geneweb/setup/se/welcome.htm @dirrm share/geneweb/setup/lv @dirrm share/geneweb/setup/se @dirrm share/geneweb/setup +@unexec rmdir %D/share/geneweb/cnt 2>/dev/null || true +@unexec rmdir %D/share/geneweb/db 2>/dev/null || true +@unexec rmdir %D/share/geneweb/images 2>/dev/null || true +@unexec rmdir %D/share/geneweb 2>/dev/null || true + -- cgit v1.2.3