summaryrefslogtreecommitdiffstats
path: root/dockersh
diff options
context:
space:
mode:
Diffstat (limited to 'dockersh')
-rw-r--r--dockersh/install-custom.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/dockersh/install-custom.sh b/dockersh/install-custom.sh
new file mode 100644
index 0000000..aed138e
--- /dev/null
+++ b/dockersh/install-custom.sh
@@ -0,0 +1,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/