new moodle plugins to install
parent
559a90fba9
commit
226d0f7861
17
dd-ctl
17
dd-ctl
|
@ -698,6 +698,23 @@ upgrade_plugins_moodle(){
|
|||
mv /tmp/moodle/theme/cbe/moodle_theme_cbe-$PLUGIN_BRANCH/* /tmp/moodle/theme/cbe/
|
||||
rm tresipunt_theme_cbe.zip
|
||||
|
||||
# mod_tipnextcloud
|
||||
M3IPTN="https://github.com/3iPunt/mod_tipnextcloud/archive/refs/heads/master.zip"
|
||||
if [[ "${MOODLE_MOD_TN_OVERRIDE:-${M3IPTN}}" == *"develop"* ]]; then
|
||||
PLUGIN_BRANCH=develop
|
||||
else
|
||||
PLUGIN_BRANCH=master
|
||||
fi
|
||||
|
||||
curl --location "${MOODLE_MOD_TN_OVERRIDE:-${M3IPTN}}" > tresipunt_mod_tn.zip
|
||||
unzip -q tresipunt_mod_tn.zip -d /tmp/moodle/mod/tipnextcloud/
|
||||
mv /tmp/moodle/mod/tipnextcloud/mod_tipnextcloud-$PLUGIN_BRANCH/* /tmp/moodle/mod/tipnextcloud/
|
||||
rm tresipunt_mod_tn.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/
|
||||
rm mail.zip
|
||||
#mkdir -p /tmp/moodle/local/tresipuntimportgc
|
||||
#cp -R local_plugins/moodle/tresipuntimportgc/* /tmp/moodle/local/tresipuntimportgc/
|
||||
|
||||
|
|
Loading…
Reference in New Issue