summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/place
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-01-01 18:21:00 +0000
committerKarl Berry <karl@freefriends.org>2009-01-01 18:21:00 +0000
commit454f405945474895ac7086a3e2c25115cc6f9f0f (patch)
treea75478530dce3afed2dbb2307b8a8629f72cba01 /Master/tlpkg/libexec/place
parent54c52a0b49c735d9fc9af682e446e8e1cbfe4bf8 (diff)
thaifonts notes
git-svn-id: svn://tug.org/texlive/trunk@11793 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec/place')
-rwxr-xr-xMaster/tlpkg/libexec/place10
1 files changed, 9 insertions, 1 deletions
diff --git a/Master/tlpkg/libexec/place b/Master/tlpkg/libexec/place
index b977cf6b914..509aa36b852 100755
--- a/Master/tlpkg/libexec/place
+++ b/Master/tlpkg/libexec/place
@@ -271,7 +271,15 @@ sub add_file
}
&xsystem ("svn add -N $needed_dirs") if $needed_dirs;
- &xsystem ("svn add $newfile");
+ # sometimes the add fails due to svn guessing wrongly about a file
+ # being binary vs. text, or mixed eol conventions. Attempt to repair
+ # -- just with pdf for now. This is not tested and needs work.
+ #
+ if (!defined (eval qq(xsystem("svn add $newfile")))
+ && $newfile =~ /\.pdf\$/) {
+ &xsystem ("svn proplist --verbose $newfile");
+ &xsystem ("svn propset svn:mime-type application/pdf $newfile");
+ }
# remember that we changed this directory.
$dirs{$newdir}++;