From: Shinjiman Date: Tue, 19 May 2009 14:54:49 +0000 (+0000) Subject: changing the Unihan.zip source from ftp to http in order to getting more stable download. X-Git-Tag: 1.31.0-rc.0~41746 X-Git-Url: http://git.cyclocoop.org/%22.htmlspecialchars%28%24url_syndic%29.%22?a=commitdiff_plain;h=fe26b6a4d71ba09876e929ff0aad018fe194d813;p=lhc%2Fweb%2Fwiklou.git changing the Unihan.zip source from ftp to http in order to getting more stable download. --- 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()