Created
September 3, 2009 14:48
-
-
Save matsuu/180339 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Naur ptexlive-20090807.orig/4extract-texmf.sh ptexlive-20090807/4extract-texmf.sh | |
--- ptexlive-20090807.orig/4extract-texmf.sh 2009-08-01 01:17:56.000000000 +0900 | |
+++ ptexlive-20090807/4extract-texmf.sh 2009-09-02 00:36:34.000000000 +0900 | |
@@ -9,7 +9,7 @@ | |
MAP=$TEXMF/fonts/map/dvipdfm/ptexlive | |
## start | |
-$MV $TEXMF-dist $TEXMF-dist.install || exit | |
+#$MV $TEXMF-dist $TEXMF-dist.install || exit | |
$MV $TEXMF $TEXMF.install || exit | |
tarcp $TEXLIVE_DIR/texmf $TEXMF || exit | |
chmod -R u+rw $TEXMF || exit | |
@@ -165,7 +165,7 @@ | |
# updmap | |
$MKTEXLSR 2> /dev/null || exit | |
-$UPDMAP --nomkmap --syncwithtrees 2> /dev/null || exit | |
+#$UPDMAP --nomkmap --syncwithtrees 2> /dev/null || exit | |
if test -f $SRC/inst/texmf-config/web2c/updmap.cfg; then | |
$MV $SRC/inst/texmf-config/web2c/updmap.cfg $SRC/inst/texmf/web2c/ || exit | |
fi | |
diff -Naur ptexlive-20090807.orig/5macro.sh ptexlive-20090807/5macro.sh | |
--- ptexlive-20090807.orig/5macro.sh 2009-07-08 11:31:06.000000000 +0900 | |
+++ ptexlive-20090807/5macro.sh 2009-09-02 00:38:40.000000000 +0900 | |
@@ -98,7 +98,7 @@ | |
s/\!GothicBBB-Medium/A-OTF-GothicBBBPro-Medium.otf/g;' \ | |
< $MAP/utf-noEmbed.map > $MAP/utf-morisawa.map | |
-$UPDMAP --nomkmap --enable KanjiMap utf-@kanjiEmbed@.map | |
+#$UPDMAP --nomkmap --enable KanjiMap utf-@kanjiEmbed@.map | |
} | |
## OTF | |
@@ -223,8 +223,8 @@ | |
otf-ckgr-v Identity-V !HYGoThic-Medium | |
EOF | |
-$UPDMAP --nomkmap --enable KanjiMap otf-@kanjiEmbed@.map | |
-$UPDMAP --nomkmap --enable KanjiMap otf-cktx.map | |
+#$UPDMAP --nomkmap --enable KanjiMap otf-@kanjiEmbed@.map | |
+#$UPDMAP --nomkmap --enable KanjiMap otf-cktx.map | |
} | |
while [ -n "$1" ]; do | |
diff -Naur ptexlive-20090807.orig/7font-search.sh ptexlive-20090807/7font-search.sh | |
--- ptexlive-20090807.orig/7font-search.sh 2009-08-07 01:21:22.000000000 +0900 | |
+++ ptexlive-20090807/7font-search.sh 2009-09-02 00:37:43.000000000 +0900 | |
@@ -291,4 +291,4 @@ | |
echo "finishing..." | |
$MKTEXLSR 2> /dev/null || exit | |
-$UPDMAP 2> /dev/null || exit | |
+#$UPDMAP 2> /dev/null || exit | |
diff -Naur ptexlive-20090807.orig/9realloc.sh ptexlive-20090807/9realloc.sh | |
--- ptexlive-20090807.orig/9realloc.sh 2009-07-05 00:13:44.000000000 +0900 | |
+++ ptexlive-20090807/9realloc.sh 2009-09-02 00:37:52.000000000 +0900 | |
@@ -70,7 +70,7 @@ | |
export PATH LD_LIBRARY_PATH TEXMFMAIN | |
$MKTEXLSR 2> /dev/null || exit | |
-$UPDMAP 2> /dev/null || exit | |
+#$UPDMAP 2> /dev/null || exit | |
(fmtutil-sys --all 2>&1) > /dev/null | |
# You can check if "$TMP_PREFIX" is not included in files under $PREFIX. | |
# grep $TMP_PREFIX -l -r $PREFIX || true | |
diff -Naur ptexlive-20090807.orig/Makefile ptexlive-20090807/Makefile | |
--- ptexlive-20090807.orig/Makefile 2009-06-24 18:04:00.000000000 +0900 | |
+++ ptexlive-20090807/Makefile 2009-08-31 17:51:42.000000000 +0900 | |
@@ -56,7 +56,7 @@ | |
$(BASH) ./9realloc.sh uninstall | |
stage1: | |
- $(BASH) ./1check-archive.sh | |
+ $(BASH) ./1check-archive.sh notexlive | |
stage2: | |
$(BASH) ./2extract-src.sh | |
stage3: | |
diff -Naur ptexlive-20090807.orig/common.sh ptexlive-20090807/common.sh | |
--- ptexlive-20090807.orig/common.sh 2009-07-05 12:26:00.000000000 +0900 | |
+++ ptexlive-20090807/common.sh 2009-09-01 08:25:35.000000000 +0900 | |
@@ -90,7 +90,7 @@ | |
echo " -> $2" | |
if test ! -d "$1"; then echo "'$1' isn't a directory"; exit 1; fi | |
test -d "$2" || $MKDIR "$2" | |
- (cd "$1" && tar cf - .) | (cd "$2" && tar xf -) || exit | |
+ (cd "$1" && tar chf - .) | (cd "$2" && tar xf -) || exit | |
} | |
# usage: tarx hoge.tar.gz dist-dir | |
@@ -235,18 +235,7 @@ | |
} | |
root_check() { | |
- if test "$UID" = 0; then | |
- echo "" | |
- echo "You are root." | |
- echo "It is RECOMMENDED to execute by a user." | |
- echo "Executing by root may cause SERIOUS DAMAGE for your system." | |
- echo -n "Are you sure to execute by root AT YOUR OWN RISK? (yes/NO) " | |
- read REPLY | |
- case $REPLY in | |
- yes) ;; | |
- *) exit 1;; | |
- esac | |
- fi | |
+ : | |
} | |
# usage: necessitycommand command arg1 arg2 ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment