moodle new atto plugin
parent
226d0f7861
commit
089876ff28
15
dd-ctl
15
dd-ctl
|
@ -621,6 +621,7 @@ upgrade_plugins_moodle(){
|
|||
mkdir -p /tmp/moodle/auth/saml2
|
||||
mkdir -p /tmp/moodle/theme/cbe
|
||||
mkdir -p /tmp/moodle/blocks
|
||||
mkdir -p /tmp/moodle/lib/editor/atto/plugins/tipnc
|
||||
|
||||
curl --location "${MOODLE_PLUGIN_JITSI_OVERRIDE:-https://moodle.org/plugins/download.php/27002/mod_jitsi_moodle40_2022070602.zip}" > jitsi.zip
|
||||
unzip -q jitsi.zip -d /tmp/moodle/mod/
|
||||
|
@ -711,6 +712,20 @@ upgrade_plugins_moodle(){
|
|||
mv /tmp/moodle/mod/tipnextcloud/mod_tipnextcloud-$PLUGIN_BRANCH/* /tmp/moodle/mod/tipnextcloud/
|
||||
rm tresipunt_mod_tn.zip
|
||||
|
||||
|
||||
# atto_tipnc https://github.com/3iPunt/atto_tipnc
|
||||
M3ATTOTIPTN="https://github.com/3iPunt/atto_tipnc/archive/refs/heads/master.zip"
|
||||
if [[ "${MOODLE_ATTOTIPTN_OVERRIDE:-${M3ATTOTIPTN}}" == *"develop"* ]]; then
|
||||
PLUGIN_BRANCH=develop
|
||||
else
|
||||
PLUGIN_BRANCH=master
|
||||
fi
|
||||
|
||||
curl --location "${MOODLE_ATTOTIPTN_OVERRIDE:-https://github.com/3iPunt/atto_tipnc/archive/refs/heads/master.zip}" > tresipunt_atto_tipnc.zip
|
||||
unzip -q tresipunt_atto_tipnc.zip -d /tmp/moodle/lib/editor/atto/plugins/tipnc/
|
||||
mv /tmp/moodle/lib/editor/atto/plugins/tipnc/atto_tipnc-$PLUGIN_BRANCH/* /tmp/moodle/lib/editor/atto/plugins/tipnc/
|
||||
rm tresipunt_atto_tipnc.zip
|
||||
|
||||
# local_mail
|
||||
curl --location "${MOODLE_PLUGIN_MAIL_OVERRIDE:-https://moodle.org/plugins/download.php/26393/local_mail_moodle40_2017121407.zip}" > mail.zip
|
||||
unzip -q mail.zip -d /tmp/moodle/local/
|
||||
|
|
Loading…
Reference in New Issue