Check for index file

This commit is contained in:
Bob Mottram 2017-04-01 23:02:37 +01:00
parent 7230ccbd3e
commit 45f74e2fbc
1 changed files with 5 additions and 0 deletions

View File

@ -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/