summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/install2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/install b/bin/install
index d7cb257..6b23df8 100755
--- a/bin/install
+++ b/bin/install
@@ -7,7 +7,7 @@ require_relative '../lib/gitlab_init'
#
config = GitlabConfig.new
-key_dir = config.auth_file.delete "authorized_keys"
+key_dir = File.dirname("#{config.auth_file}")
commands = [
"mkdir -p #{config.repos_path}",