From f586628902e5d88bdf2fe4b645c2d422f1dcecf3 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 29 May 2021 23:19:32 +0200 Subject: [PATCH] Added pend tresipunt block plugin --- docker/moodle/03-plugins.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker/moodle/03-plugins.sh b/docker/moodle/03-plugins.sh index 9dfa83b..e7bc05b 100755 --- a/docker/moodle/03-plugins.sh +++ b/docker/moodle/03-plugins.sh @@ -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 \ No newline at end of file