summaryrefslogtreecommitdiffstats
path: root/dockersh
diff options
context:
space:
mode:
authorGeorg2021-08-14 10:02:44 +0200
committerGeorg2021-08-14 10:10:42 +0200
commitc27753da863b3c44ceb81b2fe6ac689550704f89 (patch)
tree40e31d653640e43188ce5b45e08136297210a63f /dockersh
downloadpublic-shell-c27753da863b3c44ceb81b2fe6ac689550704f89.tar.gz
public-shell-c27753da863b3c44ceb81b2fe6ac689550704f89.tar.bz2
public-shell-c27753da863b3c44ceb81b2fe6ac689550704f89.zip
Init
Signed-off-by: Georg <georg@lysergic.dev>
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/