From: Kefu Chai Date: Wed, 17 Jan 2024 15:52:48 +0000 (+0800) Subject: debian/cephadm.postinst: replace tab with spaces X-Git-Tag: v18.2.2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=513521334d8a8b8f40161bd60114a7e5f1d19377;p=ceph-ci.git 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) (cherry picked from commit 7cff98556ecc407da17d62ca26b6989d1a2837d2) --- diff --git a/debian/cephadm.postinst b/debian/cephadm.postinst index eaa574cbb63..274b7f7846a 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) - : + : ;; *)