diff options
author | Fabien LEFEBVRE | 2018-04-18 15:29:24 +0200 |
---|---|---|
committer | Fabien LEFEBVRE | 2018-04-18 15:29:24 +0200 |
commit | 9d20e1c65487dbc12c14f34b1325a1e6cf258ba9 (patch) | |
tree | d6bfd452d72d37a03cfaa28841f8e25ce4e23b89 | |
parent | ad31c82bfc04bf1d27f739a201c4d52420f32f85 (diff) | |
download | aur-9d20e1c65487dbc12c14f34b1325a1e6cf258ba9.tar.gz |
Ensure .ssh folder is created
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | dokku.install | 1 |
3 files changed, 3 insertions, 2 deletions
@@ -20,7 +20,7 @@ pkgbase = dokku source = https://github.com/dokku/dokku/archive/v0.12.3.zip source = dokku.install sha256sums = 7b35c2698226eb91cbea411951f62107cc41a5118f141ba375590ede5c0f28a1 - sha256sums = b8a2db64ca043cc860cd0e0ee8bdc6865e0b0720c5463341ca97b915d12d06ba + sha256sums = 3d5a12c09fdc25dce99961ee33df0a0d22c26a53e6307eb52c4d728c46a36698 pkgname = dokku @@ -28,7 +28,7 @@ source=( "${pkgname}.install" ) sha256sums=('7b35c2698226eb91cbea411951f62107cc41a5118f141ba375590ede5c0f28a1' - 'b8a2db64ca043cc860cd0e0ee8bdc6865e0b0720c5463341ca97b915d12d06ba') + '3d5a12c09fdc25dce99961ee33df0a0d22c26a53e6307eb52c4d728c46a36698') install=${pkgname}.install package() { diff --git a/dokku.install b/dokku.install index 30a75a8d5b24..fe9136b431d3 100644 --- a/dokku.install +++ b/dokku.install @@ -31,6 +31,7 @@ post_install() { echo "Ensure proper sshcommand path" echo '/usr/bin/dokku' > "${DOKKU_ROOT}/.sshcommand" + mkdir -p ${DOKKU_ROOT}/.ssh if [[ -f .ssh/authorized_keys ]]; then sed -i.bak 's#/usr/local/bin/dokku#/usr/bin/dokku#' "${DOKKU_ROOT}/.ssh/authorized_keys" rm "${DOKKU_ROOT}/.ssh/authorized_keys" |