diff options
Diffstat (limited to 'appearance')
| -rw-r--r-- | appearance/Udt.qml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/appearance/Udt.qml b/appearance/Udt.qml index d4747aa..cf97ba5 100644 --- a/appearance/Udt.qml +++ b/appearance/Udt.qml @@ -128,16 +128,15 @@ Singleton { } // Switching writes the scheme line and regenerates every config; - // install.sh also reloads what is running. Its whole output becomes the - // `install` tab of the steps window, through udt-steps, so the root steps - // it prints can be copied from there. + // install.sh also reloads what is running, and hands its whole output to + // the steps window's `install` tab itself. function apply(scheme) { if (applying || scheme === current) return; applying = true; applyProc.scheme = scheme; - applyProc.command = ["bash", "-o", "pipefail", "-c", + applyProc.command = ["sh", "-c", `sed -i 's|^scheme *=.*|scheme = ${scheme}|' ${JSON.stringify(root.selector)} && ` + - `${JSON.stringify(root.repo)}/install.sh 2>&1 | ${JSON.stringify(root.repo)}/bin/udt-steps install`]; + `${JSON.stringify(root.repo)}/install.sh >/dev/null 2>&1`]; applyProc.running = true; } |
