summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2012-07-23 19:17:40 +0000
committerjperkin <jperkin@pkgsrc.org>2012-07-23 19:17:40 +0000
commitae4ca27e47de880c3ec1e35862ce61b4298e8dc1 (patch)
treecda32f42f6f287b2599ae2ae267dcbc6da74950b
parentbcff5bd7b8b9d4e113cd4f3e04534341aff4e3ee (diff)
downloadpkgsrc-ae4ca27e47de880c3ec1e35862ce61b4298e8dc1.tar.gz
Use portable find(1) constructs.
-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
;;
*)