From fe26b6a4d71ba09876e929ff0aad018fe194d813 Mon Sep 17 00:00:00 2001 From: Shinjiman Date: Tue, 19 May 2009 14:54:49 +0000 Subject: [PATCH] changing the Unihan.zip source from ftp to http in order to getting more stable download. --- includes/zhtable/Makefile | 2 +- includes/zhtable/Makefile.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/zhtable/Makefile b/includes/zhtable/Makefile index 618e2f212c..5dd88d386e 100644 --- a/includes/zhtable/Makefile +++ b/includes/zhtable/Makefile @@ -23,7 +23,7 @@ all: ZhConversion.php tradphrases.notsure simpphrases.notsure wordlist toHans.di # Download Unihan database and Traditional Chinese / Simplified Chinese phrases files Unihan.zip: - wget -nc ftp://ftp.unicode.org/Public/UNIDATA/Unihan.zip + wget -nc http://www.unicode.org/Public/UNIDATA/Unihan.zip scim-tables-$(SCIM_TABLES_VER).tar.gz: wget -nc http://$(SF_MIRROR).dl.sourceforge.net/sourceforge/scim/scim-tables-$(SCIM_TABLES_VER).tar.gz diff --git a/includes/zhtable/Makefile.py b/includes/zhtable/Makefile.py index 19436457b1..b61df43d55 100644 --- a/includes/zhtable/Makefile.py +++ b/includes/zhtable/Makefile.py @@ -239,7 +239,7 @@ def RemoveSameChar( src_table ): def main(): #Get Unihan.zip: - url = 'ftp://ftp.unicode.org/Public/UNIDATA/Unihan.zip' + url = 'http://www.unicode.org/Public/UNIDATA/Unihan.zip' han_dest = 'Unihan.zip' GetFileFromURL( url, han_dest ) @@ -435,4 +435,4 @@ $zh2Hant = array(\n''' f.close() if __name__ == '__main__': - main() \ No newline at end of file + main() -- 2.20.1