Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop osdn.net #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions libexec/make-mecab-ipadic-neologd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,8 @@ NEOLOGD_DIC_NAME=mecab-ipadic-2.7.0-20070801-neologd-${YMD}

if [ ! -e ${BASEDIR}/../build/${ORG_DIC_NAME}.tar.gz ]; then
DIST_SITE_URL_LIST=()
DIST_SITE_URL_LIST[0]="https://ja.osdn.net"
DIST_SITE_URL_LIST[1]="https://drive.google.com"
DIST_SITE_URL_LIST[2]="https://sourceforge.net"
DIST_SITE_URL_LIST[0]="https://drive.google.com"
DIST_SITE_URL_LIST[1]="https://sourceforge.net"

IS_NETWORK_ONLINE=0
for (( I = 0; I < ${#DIST_SITE_URL_LIST[@]}; ++I ))
Expand All @@ -78,12 +77,10 @@ if [ ! -e ${BASEDIR}/../build/${ORG_DIC_NAME}.tar.gz ]; then
fi

ORG_DIC_URL_LIST=()
# download from ja.osdn.net
ORG_DIC_URL_LIST[0]="https://ja.osdn.net/frs/g_redir.php?m=kent&f=mecab%2Fmecab-ipadic%2F2.7.0-20070801%2F${ORG_DIC_NAME}.tar.gz"
# download from google drive
ORG_DIC_URL_LIST[1]="https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7MWVlSDBCSXZMTXM"
ORG_DIC_URL_LIST[0]="https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7MWVlSDBCSXZMTXM"
# download from sourceforge
ORG_DIC_URL_LIST[2]="https://sourceforge.net/projects/mecab/files/mecab-ipadic/2.7.0-20070801/mecab-ipadic-2.7.0-20070801.tar.gz/download?use_mirror=autoselect#"
ORG_DIC_URL_LIST[1]="https://sourceforge.net/projects/mecab/files/mecab-ipadic/2.7.0-20070801/mecab-ipadic-2.7.0-20070801.tar.gz/download?use_mirror=autoselect#"
for (( I = 0; I < ${#ORG_DIC_URL_LIST[@]}; ++I ))
do
echo "$ECHO_PREFIX Try to download from ${ORG_DIC_URL_LIST[${I}]}"
Expand Down