Skip to content
Snippets Groups Projects
Commit 031a0581 authored by Bob Mottram's avatar Bob Mottram
Browse files

Not

parent d37e7f38
No related branches found
No related tags found
No related merge requests found
......@@ -187,11 +187,11 @@ function install_pleroma {
fi
mv ~/build/pleroma/dist/index.html ~/build/pleroma/dist/pleroma.html
cp -r ~/build/pleroma/dist/* /var/www/$pleroma_domain/htdocs/
cp -r ~/build/pleroma/dist/* /var/www/${pleroma_domain}/htdocs/
pleroma_set_background_image_from_url "$pleroma_domain" "$background_url" "$title"
nginx_site=/etc/nginx/sites-available/$pleroma_domain
nginx_site=/etc/nginx/sites-available/${pleroma_domain}
sed -i 's|index index.php;|index pleroma.html;|g' $nginx_site
}
......
......@@ -153,7 +153,7 @@ cp /usr/bin/nodejs /usr/local/bin/node
cp /usr/bin/nodejs /usr/bin/node
/usr/bin/curl -0 -L https://npmjs.org/install.sh | sh
npm install -g n@${NODEJS_N_VERSION} --save
if [ -f /usr/local/bin/n ]; then
if [ ! -f /usr/local/bin/n ]; then
exit 1
fi
cp /usr/local/bin/n /usr/bin/n
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment