diff options
author | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2013-07-10 11:38:28 +0100 |
---|---|---|
committer | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2013-07-10 11:38:28 +0100 |
commit | 7528bde9a591dfc1f42984368df6c05ffcccbb64 (patch) | |
tree | 0b6a455a20909faaf656f5382fec351c5d8f341a /utils | |
parent | 2852e110d537c24be0029cc78e19fe1235b86ea5 (diff) |
Issue message when action really happens.
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/new-publish/setup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/new-publish/setup.sh b/utils/new-publish/setup.sh index a3b49ab..04748d2 100755 --- a/utils/new-publish/setup.sh +++ b/utils/new-publish/setup.sh @@ -86,10 +86,10 @@ Match User publish-copy } function setup_ssh_keys() { - echo "Moving current account's authorized_keys to /etc/ssh/user-authorized-keys/" mkdir -p /etc/ssh/user-authorized-keys/ # Move only real file, don't do this for symlink if [ ! -L $HOME/.ssh/authorized_keys ]; then + echo "Moving current account's authorized_keys to /etc/ssh/user-authorized-keys/" cp $HOME/.ssh/authorized_keys /etc/ssh/user-authorized-keys/$SUDO_USER fi # Unlike when reside in ~/.ssh/, in /etc/ssh/... auth keys must be readable enough, |