Added pend tresipunt block plugin

root 2021-05-29 23:19:32 +02:00
parent db1fef2149
commit f586628902
1 changed files with 7 additions and 0 deletions

View File

@ -33,10 +33,17 @@ if [ ! -f /var/www/html/config.php ]; then
mv /var/www/html/mod/moodle_assignsubmission_tipnc-master /var/www/html/mod/moodle_assignsubmission_tipnc
rm assignsubmission_tipnc.zip
# This blocks plugin would be better in a repo
curl --location https://gitlab.com/digitaldemocratic/digitaldemocratic/-/raw/master/custom.sample/moodle/plugins/block_tresipuntmodspend.zip?inline=false > block_tresipuntmodspend.zip
unzip block_tresipuntmodspend.zip -d /var/www/html/blocks/
##should be already here, no need to move path /var/www/html/mod/tresipuntmodspend
rm block_tresipuntmodspend.zip
curl --location https://github.com/3iPunt/moodle_theme_cbe/archive/refs/heads/master.zip > tresipunt_theme_cbe.zip
unzip tresipunt_theme_cbe.zip -d /var/www/html/theme/
mv /var/www/html/theme/moodle_theme_cbe-master /var/www/html/theme/cbe
rm tresipunt_theme_cbe.zip
fi
chown -R nobody:root /var/www/html