File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1996,6 +1996,10 @@ async function run() {
19961996
19971997 await exec . exec ( 'bash ' + tmpFile . name ) ;
19981998 fs . unlinkSync ( tmpFile . name ) ;
1999+ await exec . exec ( 'curl -v https://hub.oscript.io/download/opm/opm.ospx --output opm.ospx' ) ;
2000+ await exec . exec ( 'sudo opm install -f opm.ospx' ) ;
2001+ fs . unlinkSync ( 'opm.ospx' ) ;
2002+
19992003 await exec . exec ( 'oscript --version' ) ;
20002004
20012005 } else {
Original file line number Diff line number Diff line change @@ -31,6 +31,10 @@ async function run() {
3131
3232 await exec . exec ( 'bash ' + tmpFile . name ) ;
3333 fs . unlinkSync ( tmpFile . name ) ;
34+ await exec . exec ( 'curl -v https://hub.oscript.io/download/opm/opm.ospx --output opm.ospx' ) ;
35+ await exec . exec ( 'sudo opm install -f opm.ospx' ) ;
36+ fs . unlinkSync ( 'opm.ospx' ) ;
37+
3438 await exec . exec ( 'oscript --version' ) ;
3539
3640 } else {
You can’t perform that action at this time.
0 commit comments