new-words
view INSTALL.sh @ 43:d532e7b52ab2
-s key support in new-words.py
Now new-words-py.sh -s works in the same way as new-words.sh.
(WPS and UWPS fields are not calculated correctly yet).
Now new-words-py.sh -s works in the same way as new-words.sh.
(WPS and UWPS fields are not calculated correctly yet).
author | Igor Chubin <igor@chub.in> |
---|---|
date | Fri Jan 28 12:40:58 2011 +0200 (2011-01-28) |
parents | 0ff259b8b6a3 |
children | 04b0280aa883 |
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 Installing new-words to "$DEST"
12 set -e
13 cp en.sh "${DEST}"/en
14 cp grep-sentences.pl "${DEST}"/grep-sentences
15 cp learn-words.sh "${DEST}"/learn-words
16 cp new-words.sh "${DEST}"/new-words
17 chmod +x ${DEST}/grep-sentences ${DEST}/learn-words ${DEST}/new-words ${DEST}/en
18 echo Done.