summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjperkin <jperkin>2012-07-23 19:17:40 +0000
committerjperkin <jperkin>2012-07-23 19:17:40 +0000
commit5c3597c1702759d2475099f289758f3064059fd3 (patch)
treecda32f42f6f287b2599ae2ae267dcbc6da74950b /print
parent077d4bc0a593202d2c3112b3c14a81ed92b4170c (diff)
downloadpkgsrc-5c3597c1702759d2475099f289758f3064059fd3.tar.gz
Use portable find(1) constructs.
Diffstat (limited to 'print')
-rw-r--r--print/texlive-tetex/files/format-deinstall.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/print/texlive-tetex/files/format-deinstall.tmpl b/print/texlive-tetex/files/format-deinstall.tmpl
index 99d63b359fd..af9a7397ae3 100644
--- a/print/texlive-tetex/files/format-deinstall.tmpl
+++ b/print/texlive-tetex/files/format-deinstall.tmpl
@@ -1,4 +1,4 @@
-# $NetBSD: format-deinstall.tmpl,v 1.6 2010/01/29 19:59:47 minskim Exp $
+# $NetBSD: format-deinstall.tmpl,v 1.7 2012/07/23 19:17:40 jperkin Exp $
#
# Delete format files.
#
@@ -62,7 +62,7 @@ DEINSTALL)
@RM@ -f @VARBASE@/lib/texmf/web2c/$texengine/$format.log
done
done
- @FIND@ -d @VARBASE@/lib/texmf -type d -empty -exec @RMDIR@ {} \;
+ @FIND@ @VARBASE@/lib/texmf -depth -type d -exec @RMDIR@ {} \; 2>/dev/null
@MKTEXLSR@ @VARBASE@/lib/texmf
;;
*)