summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-10-03 02:44:42 +0000
committertv <tv@pkgsrc.org>1998-10-03 02:44:42 +0000
commit4dbb0a649aa7112b6f27138e5ce5882e01c833a3 (patch)
treee72df9e6b6d1fd6ead2e93d9361bdb04749a2d0d /editors
parentb1c568b4e0d80fe949ac1585ff0f26fc29dba084 (diff)
downloadpkgsrc-4dbb0a649aa7112b6f27138e5ce5882e01c833a3.tar.gz
Gracefully try to delete the site-lisp dirs, and quietly continue if the
directories are not empty. Fixes PR 6232, Greg Woods <woods@weird.com>.
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs/pkg/PLIST6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/emacs/pkg/PLIST b/editors/emacs/pkg/PLIST
index 952391df59f..4aa31e6bf3f 100644
--- a/editors/emacs/pkg/PLIST
+++ b/editors/emacs/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 1998/09/04 02:28:55 tron Exp $
+@comment $NetBSD: PLIST,v 1.15 1998/10/03 02:44:42 tv Exp $
bin/emacs
bin/emacs-20.3
bin/emacs-etags
@@ -1374,7 +1374,7 @@ share/emacs/site-lisp/subdirs.el
@dirrm share/emacs/20.3/lisp/emulation
@dirrm share/emacs/20.3/lisp/emacs-lisp
@exec mkdir -p %D/share/emacs/20.3/site-lisp
-@unexec rm -rf %D/share/emacs/20.3/site-lisp
+@unexec rmdir %D/share/emacs/20.3/site-lisp 2>/dev/null || true
@exec mkdir -p %D/share/emacs/20.3/leim
@dirrm share/emacs/20.3/leim
@dirrm share/emacs/20.3/lisp
@@ -1382,7 +1382,7 @@ share/emacs/site-lisp/subdirs.el
@dirrm share/emacs/20.3/etc
@dirrm share/emacs/20.3
@exec mkdir -p %D/share/emacs/site-lisp
-@unexec rm -rf %D/share/emacs/site-lisp
+@unexec rmdir %D/share/emacs/site-lisp 2>/dev/null || true
@dirrm share/emacs
@dirrm libexec/emacs/20.3/${MACHINE_GNU_ARCH}--netbsd
@dirrm libexec/emacs/20.3