More updater fixes

This commit is contained in:
crschnick 2023-03-07 17:34:23 +00:00
parent 906676cf58
commit 56048bd5e3
2 changed files with 9 additions and 1 deletions

View file

@ -205,7 +205,7 @@ public class AppInstaller {
function exec {
echo "+ sudo apt-get remove -qy xpipe"
DEBIAN_FRONTEND=noninteractive sudo apt-get remove -qy xpipe || return 1
echo "+ sudo apt-get install -qy "%s"
echo "+ sudo apt-get install -qy \\"%s\\""
DEBIAN_FRONTEND=noninteractive sudo apt-get install -qy "%s" || return 1
xpipe open || return 1
}

View file

@ -11,6 +11,14 @@ import java.util.function.Consumer;
public interface CommandControl extends ProcessControl {
static enum TerminalExitMode {
KEEP_OPEN,
KEEP_OPEN_ON_FAILURE,
CLOSE
}
CommandControl terminalExitMode(TerminalExitMode mode);
public CommandControl doesNotObeyReturnValueConvention();
@Override