Skip to content

Commit 013eebf

Browse files
committed
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 <[email protected]>
1 parent 90bc036 commit 013eebf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

debian/cephadm.postinst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,19 @@ case "$1" in
4343

4444
# set up (initially empty) .ssh/authorized_keys file
4545
if ! test -d /home/cephadm/.ssh; then
46-
mkdir /home/cephadm/.ssh
47-
chown --reference /home/cephadm /home/cephadm/.ssh
48-
chmod 0700 /home/cephadm/.ssh
46+
mkdir /home/cephadm/.ssh
47+
chown --reference /home/cephadm /home/cephadm/.ssh
48+
chmod 0700 /home/cephadm/.ssh
4949
fi
5050
if ! test -e /home/cephadm/.ssh/authorized_keys; then
51-
touch /home/cephadm/.ssh/authorized_keys
52-
chown --reference /home/cephadm /home/cephadm/.ssh/authorized_keys
53-
chmod 0600 /home/cephadm/.ssh/authorized_keys
51+
touch /home/cephadm/.ssh/authorized_keys
52+
chown --reference /home/cephadm /home/cephadm/.ssh/authorized_keys
53+
chmod 0600 /home/cephadm/.ssh/authorized_keys
5454
fi
5555

5656
;;
5757
abort-upgrade|abort-remove|abort-deconfigure)
58-
:
58+
:
5959
;;
6060

6161
*)

0 commit comments

Comments
 (0)