summaryrefslogtreecommitdiffstats
path: root/dockersh/install-custom.sh
blob: aed138e8f937bdb6b607255831ac39bb1e8abc64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# Original by https://github.com/sleeepyjack/dockersh
# Modified by georg@lysergic.dev

pip3 install --upgrade -r requirements.txt
if [ -z "$1" ]; then
    activate-global-python-argcomplete
else
    activate-global-python-argcomplete --dest=$1
fi
cp dockersh /opt/dockersh/bin/
chmod +x /opt/dockersh/bin/dockersh
cp -n dockersh.ini /opt/dockersh/etc/