]> git.proxmox.com Git - mirror_ovs.git/commitdiff
openvswitch-switch.postinst: Replace tabs by spaces
authorGurucharan Shetty <guru@ovn.org>
Mon, 26 Jun 2017 10:33:00 +0000 (03:33 -0700)
committerGurucharan Shetty <guru@ovn.org>
Wed, 12 Jul 2017 17:03:03 +0000 (10:03 -0700)
There was some inconsistency with some tabs and some spaces
used.

Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
debian/openvswitch-switch.postinst

index 2464572496584504026cbeb030917c86fa8fa39e..126e8fe680130ab0439abc3328477bc09ea2ecf5 100755 (executable)
@@ -20,19 +20,19 @@ set -e
 
 case "$1" in
     configure)
-       DEFAULT=/etc/default/openvswitch-switch
-       TEMPLATE=/usr/share/openvswitch/switch/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
-                fi
-            done
-       fi
+        DEFAULT=/etc/default/openvswitch-switch
+        TEMPLATE=/usr/share/openvswitch/switch/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
+                    fi
+                done
+        fi
         ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)