diff --git a/dd-ctl b/dd-ctl index 261e8dc..46011bd 100755 --- a/dd-ctl +++ b/dd-ctl @@ -806,6 +806,16 @@ upgrade_plugins_moodle(){ #mkdir -p /tmp/moodle/local/tresipuntimportgc #cp -R local_plugins/moodle/tresipuntimportgc/* /tmp/moodle/local/tresipuntimportgc/ + curl --location https://github.com/danmarsden/moodle-mod_attendance/archive/refs/heads/MOODLE_311_STABLE.zip > mod_attendance.zip + unzip -q mod_attendance.zip -d /tmp/moodle/mod/ + mv /tmp/moodle/mod/moodle-mod_attendance-MOODLE_311_STABLE /tmp/moodle/mod/attendance + rm mod_attendance.zip + + curl --location https://github.com/projectestac/moodle-mod_geogebra/archive/refs/heads/MOODLE_39_STABLE.zip > mod_geogebra.zip + unzip -q mod_geogebra.zip -d /tmp/moodle/mod/ + mv /tmp/moodle/mod/moodle-mod_geogebra-MOODLE_39_STABLE /tmp/moodle/mod/geogebra + rm mod_geogebra.zip + cp -R /tmp/moodle/* "$SRC_FOLDER/moodle/" rm -rf /tmp/moodle docker exec -i dd-apps-moodle php7 admin/cli/purge_caches.php