feat: link executable to local bin
This commit is contained in:
parent
3c59d5c840
commit
e487723807
1 changed files with 7 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#! /bin/sh
|
||||
|
||||
INSTALL_DIR=$HOME/.local/lib/simple-tts
|
||||
EXECUTABLE_BIN=$HOME/.local/bin
|
||||
|
||||
echo "Installing to: $INSTALL_DIR"
|
||||
|
||||
|
|
@ -14,3 +15,9 @@ python -m pip install -r $INSTALL_DIR/requirements.txt
|
|||
|
||||
# deactivate environment
|
||||
deactivate
|
||||
|
||||
# make executable
|
||||
chmod u+x $INSTALL_DIR/tts.py
|
||||
|
||||
# ln to bin
|
||||
ln $INSTALL_DIR/tts.py $EXECUTABLE_BIN/tts
|
||||
|
|
|
|||
Loading…
Reference in a new issue