* debian/pg_createconfig_patroni: Fix whitespace.

This commit is contained in:
Michael Banck 2019-11-15 19:12:46 +01:00
parent 2dfc33b913
commit 6e8e643700

View file

@ -137,9 +137,9 @@ if [ -z "$HOSTIP" ]; then
if [ -x /bin/ip ]; then
HOSTIP=$(/bin/ip -4 route get 8.8.8.8 | grep ^8.8.8.8 | sed -e s/.*src.// -e s/\ .*//g)
else
echo "iproute2 package missing, cannot determine host ip addresss and --hostip is not set"
rm -f $CONFIG_FILE
exit 1
echo "iproute2 package missing, cannot determine host ip addresss and --hostip is not set"
rm -f $CONFIG_FILE
exit 1
fi
fi
@ -147,9 +147,9 @@ if [ -z "$NETWORK" ]; then
if [ -x /bin/ip ]; then
NETWORK=$(/bin/ip -4 route get 8.8.8.8 | grep ^8.8.8.8 | sed -e s/.*src.// -e s/\ .*//g -e s/\.[0-9]*$/.0/)/24
else
echo "iproute2 package missing, cannot determine network and --network is not set"
rm -f $CONFIG_FILE
exit 1
echo "iproute2 package missing, cannot determine network and --network is not set"
rm -f $CONFIG_FILE
exit 1
fi
fi