summaryrefslogtreecommitdiff
path: root/ssh-keys.sh
diff options
context:
space:
mode:
authorMarkus Krogh <markus@nordu.net>2018-06-06 13:44:10 +0200
committerMarkus Krogh <markus@nordu.net>2018-06-06 13:44:10 +0200
commit65c8377d1716346a04e99e679f34bbb0d4f8bb0e (patch)
treedd95f909c2651b7d27ea3fabb2fe9b06b4de56cc /ssh-keys.sh
parent3be1c13565cafe4be0550e6faad07e3ca38a547f (diff)
Adding Ubuntu + cosmos checks, move ldap-utils install
Diffstat (limited to 'ssh-keys.sh')
-rw-r--r--ssh-keys.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/ssh-keys.sh b/ssh-keys.sh
index 68f8d0c..c599514 100644
--- a/ssh-keys.sh
+++ b/ssh-keys.sh
@@ -1,11 +1,5 @@
#!/usr/bin/env bash
## check if ldapsearch is installed
-if ! which ldapsearch >> /dev/null; then
- if ! apt-get install -y -qq ldap-utils >> /dev/null; then
- echo "Failed to install ldap-utils"
- exit 1
- fi
-fi
DRY_RUN=false
if [ "$1" == "-n" ]; then