Last active
March 4, 2022 10:09
-
-
Save Comamoca/59cd42f5688e8f5ccee293bcd80b43b5 to your computer and use it in GitHub Desktop.
SKK辞書をダウンロードするスクリプト
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
if [ ! -e ~/.skk/SKK-JISYO.L ]; then | |
echo 'Make jisyo dir...' | |
mkdir -p ~/.skk | |
echo 'move ~/.skk' | |
cd ~/.ssk | |
echo 'Download jisyo...' | |
wget -P ~/.skk https://skk-dev.github.io/dict/SKK-JISYO.L.gz | |
echo 'Deployment jisyo...' | |
unar ~/.skk/SKK-JISYO.L.gz | |
echo 'Remove archive...' | |
rm ~/.skk/SKK-JISYO.L.gz | |
mv ~/SKK-JISYO.L ~/.skk/ | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment