diff --git a/src/executor/runnercode.js b/src/executor/runnercode.js index 382bc2d..be96ec6 100644 --- a/src/executor/runnercode.js +++ b/src/executor/runnercode.js @@ -19,7 +19,7 @@ export async function runConfigCodeFeatures(key, value, writeLog, domaindata, ss case 'yum': case 'dnf': await writeLog("$> Setting up environment for yum installation"); - await sshExec(`sed -i '/~/usr/lib64//d' ~/.bashrc`, false); + await sshExec(`sed -i '\\|~/usr/lib64/|d' ~/.bashrc`, false); await sshExec(`pathman add ~/usr/bin`); await sshExec(`echo "export LD_LIBRARY_PATH=~/usr/lib64/:$LD_LIBRARY_PATH" >> ~/.bashrc`) if (value != "") {