File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 32
32
fi && \
33
33
composer update --prefer-lowest --prefer-stable --no-interaction -o; \
34
34
fi && \
35
- APP_URL="http://localhost" php bin/console system:setup --database-url=mysql://root:root@localhost:3306/shopware --generate-jwt-keys -nq && \
35
+ if echo "${SHOPWARE_VERSION}" | grep -q '^trunk' ; then \
36
+ APP_URL="http://localhost" php bin/console system:setup --database-url=mysql://root:root@localhost:3306/shopware -nq; \
37
+ else \
38
+ APP_URL="http://localhost" php bin/console system:setup --database-url=mysql://root:root@localhost:3306/shopware --generate-jwt-keys -nq; \
39
+ fi && \
36
40
php bin/console system:install -fnq --create-database && \
37
41
composer clearcache && \
38
42
rm -Rf .git && \
Original file line number Diff line number Diff line change 42
42
fi && \
43
43
composer update --prefer-lowest --prefer-stable --no-interaction -o; \
44
44
fi && \
45
- APP_URL="http://localhost" php bin/console system:setup --database-url=mysql://root:root@localhost:3306/shopware --generate-jwt-keys -nq && \
45
+ if echo "${SHOPWARE_VERSION}" | grep -q '^trunk' ; then \
46
+ APP_URL="http://localhost" php bin/console system:setup --database-url=mysql://root:root@localhost:3306/shopware -nq; \
47
+ else \
48
+ APP_URL="http://localhost" php bin/console system:setup --database-url=mysql://root:root@localhost:3306/shopware --generate-jwt-keys -nq; \
49
+ fi && \
46
50
php bin/console system:install -fnq --create-database && \
47
51
composer clearcache && \
48
52
rm -Rf .git && \
You can’t perform that action at this time.
0 commit comments