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

armadillo owner string

parent 90501bd1
No related branches found
No related tags found
No related merge requests found
......@@ -306,8 +306,8 @@ function install_armadillo_front_end {
else
sed -i "s|\"server\".*|\"server\": \"http://${armadillo_domain}\",|g" armadillo/config.json
fi
owner='<a href=\"'"https://${armadillo_domain}/$MY_USERNAME"'\">@'"$MY_USERNAME@${armadillo_domain}"'</a>'
sed -i "s|\"owner\".*|\"$owner\",|g" armadillo/config.json
owner='<a href=\\"'"https://${armadillo_domain}/$MY_USERNAME"'\\">@'"$MY_USERNAME@${armadillo_domain}"'</a>'
sed -i "s|\"owner\".*|\"owner\": \"$owner\",|g" armadillo/config.json
cp -r $INSTALL_DIR/armadillo/armadillo /var/www/${armadillo_domain}/htdocs/
cp $INSTALL_DIR/armadillo/armadillo.html /var/www/${armadillo_domain}/htdocs/index.html
cp $INSTALL_DIR/armadillo/dash.html /var/www/${armadillo_domain}/htdocs/dash.html
......
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