From 1edf66b2602d83d9018b3ccad38a28cd747a2fda Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Thu, 31 Mar 2022 14:15:43 +0800 Subject: [PATCH] fix typo --- config-home.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config-home.sh b/config-home.sh index 51148e1..700676d 100755 --- a/config-home.sh +++ b/config-home.sh @@ -50,8 +50,8 @@ then fi if [ -e $HomePath/.ssh/authorized_keys ] then - echo "--- Removing $Homepath/.ssh/authorized_keys ..." - mv $Homepath/.ssh/authorized_keys $Homepath/.ssh/authorized_keys.backup + echo "--- Removing $HomePath/.ssh/authorized_keys ..." + mv $HomePath/.ssh/authorized_keys $HomePath/.ssh/authorized_keys.backup fi echo "--- Linking $SourcePath/authorized_keys to $HomePath/.ssh/authorized_keys ..." ln -s $SourcePath/authorized_keys $HomePath/.ssh/authorized_keys