Add customized riot web login image
This commit is contained in:
parent
38e085fc18
commit
d41789c4df
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
|
@ -141,6 +141,16 @@ function riot_download {
|
||||||
exit 542826
|
exit 542826
|
||||||
fi
|
fi
|
||||||
cp -r $INSTALL_DIR/${RIOT_FILENAME}/* /var/www/$RIOT_DOMAIN_NAME/htdocs
|
cp -r $INSTALL_DIR/${RIOT_FILENAME}/* /var/www/$RIOT_DOMAIN_NAME/htdocs
|
||||||
|
|
||||||
|
# customize the login image
|
||||||
|
if [ -f ~/freedombone/img/logo_riot.png ]; then
|
||||||
|
cp ~/freedombone/img/logo_riot.png /var/www/$RIOT_DOMAIN_NAME/htdocs/img/logo.png
|
||||||
|
else
|
||||||
|
if [ -f /home/$MY_USERNAME/freedombone/img/logo_riot.png ]; then
|
||||||
|
cp /home/$MY_USERNAME/freedombone/img/logo_riot.png /var/www/$RIOT_DOMAIN_NAME/htdocs/img/logo.png
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
chown -R www-data:www-data /var/www/$RIOT_DOMAIN_NAME/htdocs
|
chown -R www-data:www-data /var/www/$RIOT_DOMAIN_NAME/htdocs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue