Skip to content

Commit 981ba27

Browse files
author
Alexander Paliarush
committed
Merge remote-tracking branch 'origin/Guest-Configs' into Guest-Configs
2 parents 3d3b77d + 1409e54 commit 981ba27

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
#!/usr/bin/env bash
22

3+
# Enable trace printing and exit on the first error
4+
set +x
5+
36
link_configs
47

58
# Make sure configs are restored on system halt and during reboot
69
if [ ! -f /etc/init.d/K04-unlink-configs ]; then
710
ln -s /vagrant/scripts/guest/unlink_configs /etc/init.d/K04-unlink-configs
811
ln -s /etc/init.d/K04-unlink-configs /etc/rc0.d/K04-unlink-configs
912
ln -s /etc/init.d/K04-unlink-configs /etc/rc6.d/K04-unlink-configs
13+
fi
14+
15+
# Upgrade existing environment
16+
if [ -f /vagrant/.idea/deployment.xml ]; then
17+
sed -i.back "s|magento2ce/var/generation|magento2ce/var|g" "/vagrant/.idea/deployment.xml"
1018
fi

0 commit comments

Comments
 (0)