This repository was archived by the owner on Oct 1, 2020. It is now read-only.
File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,9 @@ if [[ ${host_os} == "Windows" || $(bash "${vagrant_dir}/scripts/get_config_value
30
30
if [ -f ${magento_ce_dir} /app/etc/aliases_to_classes_map.json ]; then
31
31
rm ${magento_ce_dir} /app/etc/aliases_to_classes_map.json
32
32
fi
33
- if [ -f ${magento_ce_dir} /app/etc/enterprise/di.xml ]; then
33
+ if [ -f ${magento_ce_dir} /app/etc/enterprise/di.xml ] && [ ! -L ${magento_ce_dir} /app/etc/enterprise ] ; then
34
34
rm ${magento_ce_dir} /app/etc/enterprise/di.xml
35
+ rmdir ${magento_ce_dir} /app/etc/enterprise
35
36
fi
36
37
fi
37
38
Original file line number Diff line number Diff line change @@ -26,12 +26,13 @@ cp ${magento_ee_dir}/composer.lock ${magento_ce_dir}/composer.lock
26
26
27
27
if [[ ${host_os} == " Windows" || $( bash " ${vagrant_dir} /scripts/get_config_value.sh" " guest_use_nfs" ) == 0 ]]; then
28
28
# Prevent issues on Windows with incorrect symlinks to files
29
- if [ -f ${magento_ee_dir} /app/etc/aliases_to_classes_map.json ]; then
29
+ if [ -f ${magento_ee_dir} /app/etc/aliases_to_classes_map.json ] && [ -L ${magento_ce_dir} /app/etc/aliases_to_classes_map.json ] ; then
30
30
rm ${magento_ce_dir} /app/etc/aliases_to_classes_map.json
31
31
cp ${magento_ee_dir} /app/etc/aliases_to_classes_map.json ${magento_ce_dir} /app/etc/aliases_to_classes_map.json
32
32
fi
33
- if [ -f ${magento_ee_dir} /app/etc/enterprise/di.xml ]; then
34
- rm ${magento_ce_dir} /app/etc/enterprise/di.xml
33
+ if [ -f ${magento_ee_dir} /app/etc/enterprise/di.xml ] && [ -L ${magento_ce_dir} /app/etc/enterprise ]; then
34
+ rm ${magento_ce_dir} /app/etc/enterprise
35
+ mkdir ${magento_ce_dir} /app/etc/enterprise
35
36
cp ${magento_ee_dir} /app/etc/enterprise/di.xml ${magento_ce_dir} /app/etc/enterprise/di.xml
36
37
fi
37
38
fi
You can’t perform that action at this time.
0 commit comments