Skip to content

Commit

Permalink
[FIX] do submodule sync before submodule update
Browse files Browse the repository at this point in the history
fixes "fatal: reference is not a tree" if remote is changed
  • Loading branch information
pixelmatseriks committed Aug 11, 2016
1 parent b7dab9e commit df96fe8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions update
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ if [ -d "site" ]; then
echo "Updating t3kit ..."
if [ -z "$(git status --porcelain)" ]; then
git pull
git submodule sync
git submodule update --init --recursive
cd TYPO3.CMS
composer install
Expand Down

0 comments on commit df96fe8

Please sign in to comment.