Check for index file
This commit is contained in:
parent
7230ccbd3e
commit
45f74e2fbc
|
@ -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/
|
||||
|
||||
|
|
Loading…
Reference in New Issue