diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-22 09:55:36 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-22 09:55:36 +0800 |
commit | 907f3a99d9b9e8e6d100ff6e5ca3dae46a6b6d01 (patch) | |
tree | c7335c38bb107ec2177c798763c3b89da5c2523b /editors/mule-common | |
parent | e80f0953d18006170971019cc3936a2de46081ab (diff) | |
download | freebsd-ports-gnome-907f3a99d9b9e8e6d100ff6e5ca3dae46a6b6d01.tar.gz freebsd-ports-gnome-907f3a99d9b9e8e6d100ff6e5ca3dae46a6b6d01.tar.zst freebsd-ports-gnome-907f3a99d9b9e8e6d100ff6e5ca3dae46a6b6d01.zip |
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@
PR: ports/88711 (related)
Diffstat (limited to 'editors/mule-common')
-rw-r--r-- | editors/mule-common/pkg-plist | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/mule-common/pkg-plist b/editors/mule-common/pkg-plist index cda279ccc366..ce480d06758f 100644 --- a/editors/mule-common/pkg-plist +++ b/editors/mule-common/pkg-plist @@ -12,8 +12,8 @@ bin/rcs-checkin @exec if [ ! -d %d/share/mule/%%EMACS_VERSION%%/site-lisp ]; then mkdir -p %D/share/mule/%%EMACS_VERSION%%/site-lisp; fi @comment these two can fail if other ports are installed, no need to @comment scare user in that case -@unexec rmdir %D/share/mule/site-lisp 2>/dev/null || true -@unexec rmdir %D/share/mule/%%EMACS_VERSION%%/site-lisp 2>/dev/null || true +@dirrmtry share/mule/site-lisp +@dirrmtry share/mule/%%EMACS_VERSION%%/site-lisp @unexec install-info --delete %D/info/emacs %D/info/dir @unexec install-info --delete %D/info/vip %D/info/dir @unexec install-info --delete %D/info/viper %D/info/dir @@ -152,7 +152,7 @@ info/terminology @exec install-info --section="The Emacs editor and associated tools" --entry="* Canna-jp: (canna-jp). Another Japanese Inputting Method. (Japanese)" %D/info/canna-jp %D/info/dir @comment @exec [ -f %D/share/mule/%%EMACS_VERSION%%/info/dir ] || mkdir -p %D/share/mule/%%EMACS_VERSION%%/info -@unexec rmdir %D/share/mule/%%EMACS_VERSION%%/info 2>/dev/null || true +@dirrmtry share/mule/%%EMACS_VERSION%%/info libexec/mule/%%EMACS_VERSION%%/%%EMACS_ARCH%%/cvtmail libexec/mule/%%EMACS_VERSION%%/%%EMACS_ARCH%%/digest-doc libexec/mule/%%EMACS_VERSION%%/%%EMACS_ARCH%%/emacsserver |