]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
install-deps.sh: unify indentation in case statement 12405/head
authorJan Fajerski <jfajerski@suse.com>
Tue, 10 Jan 2017 08:42:18 +0000 (09:42 +0100)
committerJan Fajerski <jfajerski@suse.com>
Tue, 10 Jan 2017 08:43:19 +0000 (09:43 +0100)
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
install-deps.sh

index e583a2d3a29c9e55a88df42f62e098f9d6c3428a..94def86e6dd5b942ca778d162825847cd7003bbc 100755 (executable)
@@ -21,7 +21,7 @@ export LC_ALL=C # the following is vulnerable to i18n
 
 source /etc/os-release
 case $ID in
-debian|ubuntu|devuan)
+    debian|ubuntu|devuan)
         echo "Using apt-get to install dependencies"
         $SUDO apt-get install -y lsb-release devscripts equivs
         $SUDO apt-get install -y dpkg-dev gcc
@@ -48,7 +48,7 @@ debian|ubuntu|devuan)
        $SUDO env DEBIAN_FRONTEND=noninteractive apt-get -y remove ceph-build-deps
        if [ -n "$backports" ] ; then rm $control; fi
         ;;
-centos|fedora|rhel)
+    centos|fedora|rhel)
         echo "Using yum to install dependencies"
         $SUDO yum install -y redhat-lsb-core
         case $(lsb_release -si) in
@@ -81,7 +81,7 @@ centos|fedora|rhel)
         sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec
         $SUDO zypper --non-interactive install $(rpmspec -q --buildrequires $DIR/ceph.spec) || exit 1
         ;;
-*)
+    *)
         echo "$ID is unknown, dependencies will have to be installed manually."
         ;;
 esac