change --force to --recursive

pull/3427/head
StefanKelm 2018-07-03 12:03:47 +02:00 committed by GitHub
parent f4c71ca4b3
commit d5b7b2a57b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ git checkout tags/$(git describe --tags `git rev-list --tags --max-count=1`)
# 3. Update CakePHP to the latest supported version
cd /var/www/MISP
rm -rf app/Lib/cakephp/
git submodule update --init --force
git submodule update --init --recursive
# 4. delete everything from MISP's cache directory to get rid of the cached models
find /var/www/MISP/app/tmp/cache/ -type f -not -name 'empty' -delete