@@ -81,7 +81,7 @@ module.exports = async lando => {
8181 lando . events . once ( 'pre-install-plugins' , async options => await require ( './hooks/lando-setup-common-plugins' ) ( lando , options ) ) ;
8282
8383 // move v3 scripts directories as needed
84- lando . events . on ( 'pre-setup ' , 0 , async ( ) => await require ( './hooks/lando-copy-v3-scripts' ) ( lando ) ) ;
84+ lando . events . on ( 'post-install-plugins ' , 0 , async ( ) => await require ( './hooks/lando-copy-v3-scripts' ) ( lando ) ) ;
8585
8686 // ensure we setup docker if needed
8787 lando . events . once ( 'pre-setup' , async options => await require ( `./hooks/lando-setup-build-engine-${ platform } ` ) ( lando , options ) ) ;
@@ -100,12 +100,6 @@ module.exports = async lando => {
100100 // ensure we setup landonet
101101 lando . events . once ( 'pre-setup' , async options => await require ( './hooks/lando-setup-landonet' ) ( lando , options ) ) ;
102102
103- // also move scripts for init considerations
104- lando . events . on ( 'pre-init' , 0 , async ( ) => await require ( './hooks/lando-copy-v3-scripts' ) ( lando ) ) ;
105-
106- // move v3 scripts directories as needed
107- lando . events . on ( 'pre-init' , 0 , async ( ) => await require ( './hooks/lando-copy-v3-scripts' ) ( lando ) ) ;
108-
109103 // set proxy config
110104 lando . events . on ( 'post-bootstrap-config' , async ( ) => await require ( './hooks/lando-set-proxy-config' ) ( lando ) ) ;
111105
@@ -131,9 +125,6 @@ module.exports = async lando => {
131125 // autostart docker if we need to
132126 lando . events . once ( 'engine-autostart' , async ( ) => await require ( './hooks/lando-autostart-engine' ) ( lando ) ) ;
133127
134- // move v3 scripts directories as needed
135- lando . events . on ( 'pre-engine-start' , 0 , async ( ) => await require ( './hooks/lando-copy-v3-scripts' ) ( lando ) ) ;
136-
137128 // clean networks
138129 lando . events . on ( 'pre-engine-start' , 1 , async ( ) => await require ( './hooks/lando-clean-networks' ) ( lando ) ) ;
139130
0 commit comments