summaryrefslogtreecommitdiff
path: root/config/scripts
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-07-13 09:57:29 -0600
committermo khan <mo.khan@gmail.com>2020-08-21 16:31:57 -0600
commitcbc4d1e328fd0e578f038d57fbd6b9354dafa79e (patch)
tree99b53a90cd7c0996a2d0993b41eb56a695bcc996 /config/scripts
parenteb11eeb1018c4d32e8dbaf3f734e588205f0671f (diff)
Install tools from .deb package
Diffstat (limited to 'config/scripts')
-rwxr-xr-xconfig/scripts/asdf/postinst3
-rwxr-xr-xconfig/scripts/license_management/postinst11
-rwxr-xr-xconfig/scripts/license_management/postrm3
3 files changed, 3 insertions, 14 deletions
diff --git a/config/scripts/asdf/postinst b/config/scripts/asdf/postinst
new file mode 100755
index 0000000..ceed3e5
--- /dev/null
+++ b/config/scripts/asdf/postinst
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+tar -xf /opt/asdf/plugins.tar.gz
diff --git a/config/scripts/license_management/postinst b/config/scripts/license_management/postinst
index da63d3b..06de8f5 100755
--- a/config/scripts/license_management/postinst
+++ b/config/scripts/license_management/postinst
@@ -1,14 +1,3 @@
#!/bin/sh
-PROGNAME=$(basename "$0")
-
-error_exit()
-{
- echo "${PROGNAME}: ${1:-"Unknown Error"}" 1>&2
- exit 1
-}
-
ln -s /opt/gitlab/bin/license_management /usr/local/bin/license_management
-echo "Thank you for installing license_management!"
-
-exit 0
diff --git a/config/scripts/license_management/postrm b/config/scripts/license_management/postrm
index 5b47b27..ab1a69a 100755
--- a/config/scripts/license_management/postrm
+++ b/config/scripts/license_management/postrm
@@ -1,6 +1,3 @@
#!/bin/sh
rm -f /usr/local/bin/license_management
-echo "license_management has been uninstalled!"
-
-exit 0