Skip to content
← Back to Community
.replit files' `onboot` no longer works?
Profile icon
xxpertHacker

I was using the following bash to update C++ Repls:

if ! command -v clang-10 &> /dev/null then install-pkg clang-10; fi;

For some reason, it no-longer works as intended; not sure why.

I reverted to just using onboot in a .replit file, unconditionally installing clang-10:

onboot=""" install-pkg clang-10; """

and now it seems like onboot doesn't work either, but the code inside does.

Voters
Profile icon
CSharpIsGud
Profile icon
xxpertHacker
Comments
hotnewtop
Profile icon
19wintersp

Shouldn't it be onBoot? And it never seems to work properly either way.

Profile icon
xxpertHacker

@19wintersp It was onboot, and it stopped working today or yesterday.

Profile icon
19wintersp

@xxpertHacker Not sure about that, and I think it's just quite on-and-off. I think the best thing would be to submit a bug report and just let them see if they've got any internal issues.

Profile icon
xxpertHacker

@19wintersp Any guesss as to why the Bash fails though? It used to work.

And yes, I ripped it right off of SO.

Profile icon
19wintersp