forked from ungleich-public/cdist
fix formatting
This commit is contained in:
parent
69c6de9f9c
commit
e88e9c357f
1 changed files with 4 additions and 4 deletions
|
@ -141,10 +141,10 @@ case "$uname_s" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -f /etc/os-release ]; then
|
if [ -f /etc/os-release ]; then
|
||||||
# already lowercase, according to:
|
# already lowercase, according to:
|
||||||
# https://www.freedesktop.org/software/systemd/man/os-release.html
|
# https://www.freedesktop.org/software/systemd/man/os-release.html
|
||||||
grep '^ID=' /etc/os-release | sed -e 's|^ID=||'
|
grep '^ID=' /etc/os-release | sed -e 's|^ID=||'
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Unknown OS" >&2
|
echo "Unknown OS" >&2
|
||||||
|
|
Loading…
Reference in a new issue