This repository was archived by the owner on Oct 1, 2020. It is now read-only.
File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ if [[ -d "${MAGENTO_ROOT}/dev" ]]; then
60
60
fi
61
61
fi
62
62
63
- if [[ -f " ${MAGENTO_ROOT} /app/etc/config .php" ]]; then
63
+ if [[ -f " ${MAGENTO_ROOT} /app/etc/env .php" ]]; then
64
64
65
65
bash configure_debugging
66
66
Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ status "Removing Magento configuration files (env.php and config.php)"
46
46
rm -f " ${MAGENTO_ROOT} /app/etc/config.php"
47
47
rm -f " ${MAGENTO_ROOT} /app/etc/env.php"
48
48
49
+ status " Restoring stored in git config.php (if applicable)"
50
+ git checkout " ${MAGENTO_ROOT} /app/etc/config.php" & > /dev/null
51
+
49
52
bash m-clear-cache
50
53
# Cache cleaning takes 5-10 seconds and should be avoided until the end of installation to speed up the process
51
54
export SKIP_CACHE_CLEAN=1
@@ -77,7 +80,7 @@ install_cmd="./bin/magento setup:install \
77
80
--use-rewrites=1"
78
81
79
82
# Configure Rabbit MQ
80
- if [[ -d " ${MAGENTO_ROOT} /app/code/Magento/MessageQueue" ]] || [[ -d " ${MAGENTO_ROOT} /vendor/magento/magento -message-queue" ]]; then
83
+ if [[ -d " ${MAGENTO_ROOT} /app/code/Magento/MessageQueue" ]] || [[ -d " ${MAGENTO_ROOT} /vendor/magento/module -message-queue" ]]; then
81
84
install_cmd=" ${install_cmd} \
82
85
--amqp-host=${setupOptions[amqp_host]} \
83
86
--amqp-port=${setupOptions[amqp_port]} \
You can’t perform that action at this time.
0 commit comments