added a script to check the user in the sudo group

- move isServerDpkgBusy to separate script
This commit is contained in:
vladimir.kuznetsov 2023-03-19 17:26:43 +03:00
parent cba78190a8
commit ea9917dacc
8 changed files with 77 additions and 32 deletions

View file

@ -16,6 +16,7 @@ QString errorString(ErrorCode code){
case(ServerContainerMissingError): return QObject::tr("Server error: Docker container missing");
case(ServerDockerFailedError): return QObject::tr("Server error: Docker failed");
case(ServerCancelInstallation): return QObject::tr("Installation canceled by user");
case(ServerUserNotInSudo): return QObject::tr("The user does not have permission to use sudo");
// Ssh connection errors
case(SshSocketError): return QObject::tr("Ssh connection error");