]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
install-deps.sh: dashboard frontend needs git 24520/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Wed, 10 Oct 2018 12:21:04 +0000 (14:21 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Thu, 11 Oct 2018 12:20:52 +0000 (14:20 +0200)
Running `npm install` for the dashboard pulls dependenies with git.
Under some setups, git was not installed when building the frontend.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
install-deps.sh

index 10d4d1381b9b6997979444a52be6bc9ff2007564..f0e5ead71b4c39d0e1a1aa3a84873568ca8013df 100755 (executable)
@@ -429,3 +429,4 @@ for interpreter in python2.7 python3 ; do
     rm -rf $top_srcdir/install-deps-$interpreter
 done
 rm -rf $XDG_CACHE_HOME
+git --version || (echo "Dashboard uses git to pull dependencies." ; false)