mirror of https://github.com/MISP/MISP
fix: submodule updates: force overwrite
parent
c84c24502c
commit
8e28fed3ac
|
@ -18,9 +18,7 @@ git checkout tags/$(git describe --tags `git rev-list --tags --max-count=1`)
|
|||
# 2. Update CakePHP to the latest supported version (if for some reason it doesn't get updated automatically with git submodule)
|
||||
|
||||
cd /var/www/MISP
|
||||
rm -rf app/Lib/cakephp/
|
||||
git submodule init
|
||||
git submodule update
|
||||
git submodule update --init --force
|
||||
|
||||
|
||||
# 3. Update Mitre's STIX and its dependencies
|
||||
|
|
|
@ -14,8 +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 init
|
||||
git submodule update
|
||||
git submodule update --init --force
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Reference in New Issue