Merge branch 'main' of git.urmel.de:Kyattsukuro/fledermaus
This commit is contained in:
commit
d818a2a431
@ -7,14 +7,14 @@ if [ -d $TARGET_DIR ]; then
|
|||||||
fi
|
fi
|
||||||
mkdir -p $TARGET_DIR
|
mkdir -p $TARGET_DIR
|
||||||
git clone git@git.urmel.de:Kyattsukuro/fledermaus.git "$TARGET_DIR"
|
git clone git@git.urmel.de:Kyattsukuro/fledermaus.git "$TARGET_DIR"
|
||||||
python -m venv $TARGET_DIR/.venv
|
python3 -m venv $TARGET_DIR/.venv
|
||||||
source $TARGET_DIR/.venv/bin/activate
|
source $TARGET_DIR/.venv/bin/activate
|
||||||
pip install -r $TARGET_DIR/requirements.txt
|
pip install -r $TARGET_DIR/requirements.txt
|
||||||
|
|
||||||
mkdir -p $HOME/.local/share/bin/
|
mkdir -p $HOME/.local/share/bin/
|
||||||
|
|
||||||
rm -r $HOME/.local/share/bin/fledermaus-formater > /dev/zero
|
rm -r $HOME/.local/share/bin/fledermaus-formater > /dev/zero
|
||||||
ln -s $TARGET_DIR/run.sh ~/.local/share/bin/fledermaus-formater
|
ln -s $TARGET_DIR/run.sh $HOME/.local/share/bin/fledermaus-formater
|
||||||
|
|
||||||
if [[ ":$PATH:" != *":$HOME/.local/share/bin:"* ]]; then
|
if [[ ":$PATH:" != *":$HOME/.local/share/bin:"* ]]; then
|
||||||
echo 'export PATH="$HOME/.local/share/bin:$PATH"' >> ~/.bashrc
|
echo 'export PATH="$HOME/.local/share/bin:$PATH"' >> ~/.bashrc
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user