We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3d3b77d + 1409e54 commit 981ba27Copy full SHA for 981ba27
scripts/provision/configure_environment_recurring.sh
@@ -1,10 +1,18 @@
1
#!/usr/bin/env bash
2
3
+# Enable trace printing and exit on the first error
4
+set +x
5
+
6
link_configs
7
8
# Make sure configs are restored on system halt and during reboot
9
if [ ! -f /etc/init.d/K04-unlink-configs ]; then
10
ln -s /vagrant/scripts/guest/unlink_configs /etc/init.d/K04-unlink-configs
11
ln -s /etc/init.d/K04-unlink-configs /etc/rc0.d/K04-unlink-configs
12
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"
18
fi
0 commit comments