changing the Unihan.zip source from ftp to http in order to getting more stable download.
authorShinjiman <shinjiman@users.mediawiki.org>
Tue, 19 May 2009 14:54:49 +0000 (14:54 +0000)
committerShinjiman <shinjiman@users.mediawiki.org>
Tue, 19 May 2009 14:54:49 +0000 (14:54 +0000)
includes/zhtable/Makefile
includes/zhtable/Makefile.py

index 618e2f2..5dd88d3 100644 (file)
@@ -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
index 1943645..b61df43 100644 (file)
@@ -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()