karmi (owner)

Revisions

gist: 171896 Download_button fork
public
Public Clone URL: git://gist.github.com/171896.git
Embed All Files: show embed
install_aspell_czech_dictionary.sh #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env bash
 
if [ ! -e aspell-cs-0.51-0.tar.bz2 ]
  then
echo "*** Downloading dictionary"
    wget ftp://ftp.gnu.org/gnu/aspell/dict/cs/aspell-cs-0.51-0.tar.bz2
  else
echo "*** Dictionary already downloaded..."
fi
 
echo "*** Extracting dictionary"
tar xjf aspell-cs-0.51-0.tar.bz2
cd aspell-cs-0.51-0
 
echo "*** Installing dictionary"
sudo ./configure
sudo make
sudo make install
sudo make clean
 
echo "*** Dictionary installed:"
aspell dump dicts | grep --color=auto --context=0 'cs'