mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
mkosi: Reduce postinst script indentation
This commit is contained in:
parent
d2a0ca2440
commit
1ad84c9af8
|
@ -1,7 +1,10 @@
|
|||
#!/bin/sh
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
if [ "$1" = "final" ]; then
|
||||
if [ "$1" = "build" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -n "$SANITIZERS" ]; then
|
||||
LD_PRELOAD=$(ldd /usr/lib/systemd/systemd | grep libasan.so | awk '{print $3}')
|
||||
|
||||
|
@ -62,4 +65,3 @@ EOF
|
|||
-e "\$aIMAGE_VERSION=$IMAGE_VERSION" \
|
||||
/usr/lib/os-release
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue