From 7cff98556ecc407da17d62ca26b6989d1a2837d2 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 17 Jan 2024 23:52:48 +0800 Subject: [PATCH] debian/cephadm.postinst: replace tab with spaces for better readability, and to be more consistent with the rest of this file, and other .postinst scripts of this project. Signed-off-by: Kefu Chai (cherry picked from commit 013eebf5357666cf2509a37eecf69ef4ac349321) --- debian/cephadm.postinst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/debian/cephadm.postinst b/debian/cephadm.postinst index eaa574cbb634a..274b7f7846a69 100644 --- a/debian/cephadm.postinst +++ b/debian/cephadm.postinst @@ -43,19 +43,19 @@ case "$1" in # set up (initially empty) .ssh/authorized_keys file if ! test -d /home/cephadm/.ssh; then - mkdir /home/cephadm/.ssh - chown --reference /home/cephadm /home/cephadm/.ssh - chmod 0700 /home/cephadm/.ssh + mkdir /home/cephadm/.ssh + chown --reference /home/cephadm /home/cephadm/.ssh + chmod 0700 /home/cephadm/.ssh fi if ! test -e /home/cephadm/.ssh/authorized_keys; then - touch /home/cephadm/.ssh/authorized_keys - chown --reference /home/cephadm /home/cephadm/.ssh/authorized_keys - chmod 0600 /home/cephadm/.ssh/authorized_keys + touch /home/cephadm/.ssh/authorized_keys + chown --reference /home/cephadm /home/cephadm/.ssh/authorized_keys + chmod 0600 /home/cephadm/.ssh/authorized_keys fi ;; abort-upgrade|abort-remove|abort-deconfigure) - : + : ;; *) -- 2.39.5