From 45f74e2fbc35082e8353a3ad037c8f95b1725526 Mon Sep 17 00:00:00 2001 From: Bob Mottram <bob@freedombone.net> Date: Sat, 1 Apr 2017 23:02:37 +0100 Subject: [PATCH] Check for index file --- src/freedombone-utils-gnusocialtools | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/freedombone-utils-gnusocialtools b/src/freedombone-utils-gnusocialtools index 5d3abf5ae..838250bfa 100755 --- a/src/freedombone-utils-gnusocialtools +++ b/src/freedombone-utils-gnusocialtools @@ -181,6 +181,11 @@ function install_pleroma { echo 'Unable to build pleroma' exit 7629352 fi + if [ ! -f ~/build/pleroma/dist/index.html ]; then + echo $'Unable to build pleroma index.html' + exit 5282682 + fi + mv ~/build/pleroma/dist/index.html ~/build/pleroma/dist/pleroma.html cp -r ~/build/pleroma/dist/* /var/www/$pleroma_domain/htdocs/ -- GitLab