From: Sebastian Wagner Date: Wed, 10 Oct 2018 12:21:04 +0000 (+0200) Subject: install-deps.sh: dashboard frontend needs git X-Git-Tag: v13.2.7~139^2~11 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cd02117a9a5143fc4dcdec5599ef7425855c6ab8;p=ceph.git install-deps.sh: dashboard frontend needs git 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 (cherry picked from commit d8de543b7e8f815f46e6a967fb5df4620f1cfbc4) --- diff --git a/install-deps.sh b/install-deps.sh index e379339e4af4..84c5d130753e 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -368,3 +368,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)