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

Copy logo to web admin directory

parent 48cdb59b
No related branches found
No related tags found
No related merge requests found
......@@ -1198,6 +1198,10 @@ function install_web_local_user_interface {
echo '</html>'; } > "/var/www/${local_hostname}/htdocs/admin/index.html"
fi
if [ -f "/root/${PROJECT_NAME}/img/logo.png" ]; then
cp "/root/${PROJECT_NAME}/img/logo.png" "/var/www/${local_hostname}/htdocs/admin"
fi
nginx_file=/etc/nginx/sites-available/$local_hostname
{ echo 'server {';
echo ' listen 80 default_server;';
......
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