summaryrefslogtreecommitdiff
path: root/debian/ovn-host.postinst
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2018-05-25 17:11:07 -0700
committerBen Pfaff <blp@ovn.org>2018-06-11 15:32:00 -0700
commit5a0e4aec1af5cf7741c490bce704577e51e536b9 (patch)
tree0115e5184d50e22d6f6e7c7bd87a2690bdcc6ca4 /debian/ovn-host.postinst
parent7be29a47576dce715f9c8b2b4f673fa623728ed0 (diff)
downloadopenvswitch-5a0e4aec1af5cf7741c490bce704577e51e536b9.tar.gz
treewide: Convert leading tabs to spaces.
It's always been OVS coding style to use spaces rather than tabs for indentation, but some tabs have snuck in over time. This commit converts them to spaces. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Justin Pettit <jpettit@ovn.org>
Diffstat (limited to 'debian/ovn-host.postinst')
-rwxr-xr-xdebian/ovn-host.postinst16
1 files changed, 8 insertions, 8 deletions
diff --git a/debian/ovn-host.postinst b/debian/ovn-host.postinst
index 05e80ad1f..4b3edeb75 100755
--- a/debian/ovn-host.postinst
+++ b/debian/ovn-host.postinst
@@ -20,19 +20,19 @@ set -e
case "$1" in
configure)
- DEFAULT=/etc/default/ovn-host
- TEMPLATE=/usr/share/ovn/host/default.template
- if ! test -e $DEFAULT; then
- cp $TEMPLATE $DEFAULT
- else
+ DEFAULT=/etc/default/ovn-host
+ TEMPLATE=/usr/share/ovn/host/default.template
+ if ! test -e $DEFAULT; then
+ cp $TEMPLATE $DEFAULT
+ else
for var in $(awk -F'[ :]' '/^# [_A-Z0-9]+:/{print $2}' $TEMPLATE)
do
if ! grep $var $DEFAULT >/dev/null 2>&1; then
- echo >> $DEFAULT
- sed -n "/$var:/,/$var=/p" $TEMPLATE >> $DEFAULT
+ echo >> $DEFAULT
+ sed -n "/$var:/,/$var=/p" $TEMPLATE >> $DEFAULT
fi
done
- fi
+ fi
;;
abort-upgrade|abort-remove|abort-deconfigure)