Fixed tipnc moodle module path

root 2021-05-29 23:45:44 +02:00
parent f586628902
commit 075942cab4
1 changed files with 3 additions and 3 deletions

View File

@ -29,11 +29,11 @@ if [ ! -f /var/www/html/config.php ]; then
rm tresipuntaudio.zip rm tresipuntaudio.zip
curl --location https://github.com/3iPunt/moodle_assignsubmission_tipnc/archive/refs/heads/master.zip > assignsubmission_tipnc.zip curl --location https://github.com/3iPunt/moodle_assignsubmission_tipnc/archive/refs/heads/master.zip > assignsubmission_tipnc.zip
unzip assignsubmission_tipnc.zip -d /var/www/html/mod/ unzip assignsubmission_tipnc.zip -d /var/www/html/mod/assign/submission/
mv /var/www/html/mod/moodle_assignsubmission_tipnc-master /var/www/html/mod/moodle_assignsubmission_tipnc mv /var/www/html/mod/assign/submission/moodle_assignsubmission_tipnc-master /var/www/html/mod/assign/submission/tipnc
rm assignsubmission_tipnc.zip rm assignsubmission_tipnc.zip
# This blocks plugin would be better in a repo # This blocks plugin would be better in its own repo
curl --location https://gitlab.com/digitaldemocratic/digitaldemocratic/-/raw/master/custom.sample/moodle/plugins/block_tresipuntmodspend.zip?inline=false > block_tresipuntmodspend.zip 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/ unzip block_tresipuntmodspend.zip -d /var/www/html/blocks/
##should be already here, no need to move path /var/www/html/mod/tresipuntmodspend ##should be already here, no need to move path /var/www/html/mod/tresipuntmodspend