Commit a8d83e10 authored by Philipp's avatar Philipp

updated update script some more for copying install and update scripts to...

updated update script some more for copying install and update scripts to webroot, too (not only skinroot as before..)
parent 7e08fb4e
Pipeline #296 passed with stage
in 33 seconds
......@@ -176,6 +176,7 @@ cp -r template_rabenwetter/dist/i18n/$lang/* template_rabenwetter/dist/
rm -rf template_rabenwetter/dist/i18n
if [ "$( hostname )" = "rabenwetter" ]
then
echo " ohai stimpy!"
mv template_rabenwetter/dist/info.own.html.tmpl template_rabenwetter/dist/info.html.tmpl
mv template_rabenwetter/dist/contact.own.html.tmpl template_rabenwetter/dist/contact.html.tmpl
cp template_rabenwetter/tools/*.sh template_rabenwetter/dist/
......@@ -213,6 +214,13 @@ then
chown -R $WWWUSER:$WWWGROUP "$WWW/assets"
chmod -R 775 "$WWW/assets"
find "$WWW/assets/" -type f -exec chmod 664 "{}" \;
if [ "$( hostname )" = "rabenwetter" ]
then
echo " ohai (again) stimpy!"
cp template_rabenwetter/tools/*.sh "$WWW/"
chown -R $WWWUSER:$WWWGROUP "$WWW/*.sh"
chmod -R 644 "$WWW/*.sh"
fi
else
echo " WARNING: Cannot find existing website. Not updating static files."
echo " Maybe, you want to manually copy the assets folder from"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment