new-words

view INSTALL.sh @ 68:846240941452

added -C key: compress to lines; fixed bug with #90-line
author Igor Chubin <igor@chub.in>
date Sun Sep 23 16:07:29 2012 +0300 (2012-09-23)
parents 416394a87d9f
children
line source
1 #!/bin/sh
3 if [ "$UID" = 0 ]
4 then
5 DEST=/usr/local/bin/
6 else
7 DEST=~/bin/
8 mkdir -p ~/bin/
9 fi
11 echo Please install PyStemmer "(press ctrl-d to continue but don't forget to install PyStemmer python module)".
12 read
13 echo Installing new-words to "$DEST"
14 set -e
15 cp en.sh "${DEST}"/en
16 cp grep-sentences.pl "${DEST}"/grep-sentences
17 cp learn-words.sh "${DEST}"/learn-words
18 cp new-words.py "${DEST}"/new-words
19 chmod +x ${DEST}/grep-sentences ${DEST}/learn-words ${DEST}/new-words ${DEST}/en
20 echo Done.