Not
This commit is contained in:
parent
d37e7f3888
commit
031a0581ec
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue