Update dd-ctl- mod_attendance and geogebra
parent
eb75377dd3
commit
79b4d246ea
10
dd-ctl
10
dd-ctl
|
@ -806,6 +806,16 @@ upgrade_plugins_moodle(){
|
||||||
#mkdir -p /tmp/moodle/local/tresipuntimportgc
|
#mkdir -p /tmp/moodle/local/tresipuntimportgc
|
||||||
#cp -R local_plugins/moodle/tresipuntimportgc/* /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/"
|
cp -R /tmp/moodle/* "$SRC_FOLDER/moodle/"
|
||||||
rm -rf /tmp/moodle
|
rm -rf /tmp/moodle
|
||||||
docker exec -i dd-apps-moodle php7 admin/cli/purge_caches.php
|
docker exec -i dd-apps-moodle php7 admin/cli/purge_caches.php
|
||||||
|
|
Loading…
Reference in New Issue