File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ class CDKInstall extends InstallableItem {
128128 . then ( ( result ) => { return Platform . OS === 'win32' ? installer . writeFile ( this . pscpPathScript , data , result ) : Promise . resolve ( true ) ; } )
129129 . then ( ( result ) => { return installer . writeFile ( this . installerDataSvc . cdkMarker ( ) , markerContent , result ) ; } )
130130 . then ( ( result ) => { return Platform . OS === 'win32' ? installer . execFile ( 'powershell' , opts , result ) : Promise . resolve ( true ) ; } )
131+ . then ( ( result ) => { return Platform . OS === 'win32' ? Promise . resolve ( true ) : installer . exec ( `rm -f /usr/local/bin/oc; ln -s ${ ocDir } /oc /usr/local/bin/oc;` ) } )
131132 . then ( ( result ) => { return Platform . OS === 'win32' ? installer . exec ( 'setx VAGRANT_DETECTED_OS "cygwin"' ) : Promise . resolve ( true ) ; } )
132133 . then ( ( result ) => { return this . setupVagrant ( installer , result ) ; } )
133134 . then ( ( result ) => { return installer . succeed ( result ) ; } )
You can’t perform that action at this time.
0 commit comments