diff options
Diffstat (limited to 'Master/tlpkg/bin/tl-update-4ht')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-4ht | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/tlpkg/bin/tl-update-4ht b/Master/tlpkg/bin/tl-update-4ht index 893c5b8c2c4..36d87dd256c 100755 --- a/Master/tlpkg/bin/tl-update-4ht +++ b/Master/tlpkg/bin/tl-update-4ht @@ -20,6 +20,7 @@ tar xzf /home/httpd/html/applications/tex4ht/fix/tex4ht.tar.gz cd tex4ht-* diff -u1 .. bin/unix/ | fgrep -v "Only in .." >/tmp/u; v /tmp/u #\cp -pf bin/unix/* .. +#and update $tm/texmf-dist/scripts/tex4ht, adding extensions. # diff -u1 $tm/bin/win32 bin/win32/ | fgrep -v "Only in /home" >/tmp/u; v /tmp/u #tex4ht, t4ht #\cp -pf bin/win32/* /home/texlive/karl/Master/bin/win32/ @@ -36,7 +37,7 @@ diff -u1 -r $tm/texmf-dist/tex4ht/base texmf/tex4ht/base | fgrep -v "Only in /ho (cd $tm/texmf-dist/tex/generic/tex4ht/ && find -type f | fgrep -v .svn | sort >/tmp/now) (cd texmf/tex/generic/tex4ht/ && find -type f | sort >/tmp/new) comm -23 /tmp/now /tmp/new >/tmp/c; ls -l /tmp/c # looking for deletions -# (cd $tm/texmf-dist/tex/generic/tex4ht/ && svn rm `cat /tmp/c`) # if any +#(cd $tm/texmf-dist/tex/generic/tex4ht/ && svn rm `cat /tmp/c`) # if any # # update files: \cp -pf texmf/tex/generic/tex4ht/* $tm/texmf-dist/tex/generic/tex4ht @@ -49,21 +50,22 @@ comm -13 /tmp/now /tmp/new >/tmp/c; v /tmp/c (cd $tm/texmf-dist/tex4ht/ && find -type f | fgrep -v .svn | sort >/tmp/now) (cd texmf/tex4ht/ && find -type f | sort >/tmp/new) comm -23 /tmp/now /tmp/new >/tmp/c; wc -l /tmp/c # looking for deletions -# (cd $tm/texmf-dist/tex4ht/ && svn rm `cat /tmp/c`) # if any +#(cd $tm/texmf-dist/tex4ht/ && svn rm `cat /tmp/c`) # if any # # update files: (cd texmf/tex4ht/ && tar cf - . | (cd $tm/texmf-dist/tex4ht/ && tar xpf -)) # # additions: comm -13 /tmp/now /tmp/new >/tmp/c; wc -l /tmp/c -# must add dirs manually first: -(cd $tm/texmf-dist/tex4ht/ && svn add -N `sed 's,/[^/]*$,,' /tmp/c | sort -u`) -(cd $tm/texmf-dist/tex4ht/ && svn add `cat /tmp/c`) +# must add dirs manually first, if any: +#(cd $tm/texmf-dist/tex4ht/ && svn add -N `sed 's,/[^/]*$,,' /tmp/c | sort -u`) +#(cd $tm/texmf-dist/tex4ht/ && svn add `cat /tmp/c`) # check results: svn status .. $tm/bin/win32 \ $tm/texmf-dist/tex/generic/tex4ht \ - $tm/texmf-dist/tex4ht + $tm/texmf-dist/tex4ht \ + $tm/texmf-dist/scripts/tex4ht # and svn commit same dirs. |