Introduce DOKKU_ROOT and import now in git plugin

This commit is contained in:
Alexander committed 2013-11-14 23:51:35 +01:00
1 parent 682229baae
commit 2219044114
5 files changed
+27 -8

No files matched your search

+1
View File
@@ -3,6 +3,7 @@ VERSION="$1"
IMPORT_DIR="$2"
TARGET_DIR="$3"
[[ -f $IMPORT_DIR/.sshcommand ]] && mv $IMPORT_DIR/.sshcommand $TARGET_DIR/.sshcommand
if [[ -f $IMPORT_DIR/.ssh/authorized_keys ]]; then
mkdir $TARGET_DIR/.ssh
mv $IMPORT_DIR/.ssh/authorized_keys $TARGET_DIR/.ssh/authorized_keys