base-files: convert leading spaces to tabs in functions.sh
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 13 Mar 2020 14:51:30 +0000 (15:51 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 13 Mar 2020 14:51:30 +0000 (15:51 +0100)
Use tabs for indent consistently.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
package/base-files/files/lib/functions.sh

index d2edef1a346fe40d21b7c18fa597def37e8407a2..fe908f7aa4fbb5bd79a51ee2f70766ba3fa3b154 100755 (executable)
@@ -327,7 +327,7 @@ group_add_next() {
        gids=$(cut -d: -f3 ${IPKG_INSTROOT}/etc/group)
        gid=65536
        while echo "$gids" | grep -q "^$gid$"; do
-               gid=$((gid + 1))
+               gid=$((gid + 1))
        done
        group_add $1 $gid
        echo $gid
@@ -355,7 +355,7 @@ user_add() {
                uids=$(cut -d: -f3 ${IPKG_INSTROOT}/etc/passwd)
                uid=65536
                while echo "$uids" | grep -q "^$uid$"; do
-                       uid=$((uid + 1))
+                       uid=$((uid + 1))
                done
        }
        [ -z "$gid" ] && gid=$uid