beautysh-install
This commit is contained in:
parent
c7b3484e53
commit
22af54db0b
1 changed files with 18 additions and 0 deletions
18
beautysh-install.sh
Executable file
18
beautysh-install.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
if [ -d /opt/beautysh ];then
|
||||
rm -Rv /opt/beautysh
|
||||
echo "Bereits vorhanden!!!"
|
||||
fi
|
||||
git clone https://github.com/bemeurer/beautysh /opt/beautysh
|
||||
cd /opt/beautysh
|
||||
python ./setup.py install
|
||||
if [ -f /usr/bin/beautysh ];then
|
||||
rm /usr/bin/beautysh
|
||||
fi
|
||||
ln -s /opt/beautysh/beautysh/beautysh.py /usr/bin/beautysh
|
||||
chmod +x /usr/bin/beautysh
|
||||
cd /
|
||||
|
Loading…
Reference in a new issue