summaryrefslogtreecommitdiff
path: root/debian/login.postinst
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2020-04-18 09:23:41 +0000
committerNiels Thykier <niels@thykier.net>2020-04-18 09:23:43 +0000
commitb95379812c5ef273a411a43cf8794a7a2ee2058b (patch)
treee1fbdaf066ed2407d4f3fb074dcae3dbcd8caa81 /debian/login.postinst
parent0e6d6097154ea715ab582b5651de2af15ff737fa (diff)
downloadshadow-simplify-login-postinst.tar.gz
d/login.postinst: Dedent of code to visually align codesimplify-login-postinst
The code was indented like it was guarded by an if-statement but it was not. Dedenting the code makes this more clear. Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'debian/login.postinst')
-rw-r--r--debian/login.postinst22
1 files changed, 11 insertions, 11 deletions
diff --git a/debian/login.postinst b/debian/login.postinst
index 1f6da1e3..4357f838 100644
--- a/debian/login.postinst
+++ b/debian/login.postinst
@@ -26,18 +26,18 @@ then
fi
fi
- # Create subuid/subgid if missing
- if [ ! -e /etc/subuid ]; then
- touch /etc/subuid
- chown root:root /etc/subuid
- chmod 644 /etc/subuid
- fi
+# Create subuid/subgid if missing
+if [ ! -e /etc/subuid ]; then
+ touch /etc/subuid
+ chown root:root /etc/subuid
+ chmod 644 /etc/subuid
+fi
- if [ ! -e /etc/subgid ]; then
- touch /etc/subgid
- chown root:root /etc/subgid
- chmod 644 /etc/subgid
- fi
+if [ ! -e /etc/subgid ]; then
+ touch /etc/subgid
+ chown root:root /etc/subgid
+ chmod 644 /etc/subgid
+fi
#DEBHELPER#