Skip to content

Commit

Permalink
Merge pull request #2758 from VidyaPatil/moodle-cluster-ubuntu
Browse files Browse the repository at this point in the history
Removed additional office plugins
  • Loading branch information
bmoore-msft authored Nov 30, 2016
2 parents 1f8d809 + 2b5fb8c commit b597f5c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions moodle-cluster-ubuntu/install_frontend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,19 @@ mv moodle-$moodleVersion moodle
if [ "$installOfficePlugins" = "True" ]; then
curl -k --max-redirs 10 https://github.com/Microsoft/o365-moodle/archive/$moodleVersion.zip -L -o o365.zip
unzip o365.zip

# The plugins below are not required for new installations
rm -rf o365-moodle-$moodleVersion/blocks/onenote
rm -rf o365-moodle-$moodleVersion/local/m*
rm -rf o365-moodle-$moodleVersion/local/o365docs
rm -rf o365-moodle-$moodleVersion/local/office365
rm -rf o365-moodle-$moodleVersion/local/onenote
rm -rf o365-moodle-$moodleVersion/mod/assign
rm -rf o365-moodle-$moodleVersion/user/profile/
rm -rf o365-moodle-$moodleVersion/repository/onenote

#Copy office plugins to moodle and remove office unzipped folder

cp -r o365-moodle-$moodleVersion/* moodle
rm -rf o365-moodle-$moodleVersion
fi
Expand Down

0 comments on commit b597f5c

Please sign in to comment.