diff --git a/modules/runners/templates/install-runner.sh b/modules/runners/templates/install-runner.sh index 05445eb98b..2d371ecb65 100644 --- a/modules/runners/templates/install-runner.sh +++ b/modules/runners/templates/install-runner.sh @@ -45,8 +45,8 @@ rm -rf $file_name os_id=$(awk -F= '/^ID=/{print $2}' /etc/os-release) echo OS: $os_id -# Install libicu on non-ubuntu -if [[ ! "$os_id" =~ ^ubuntu.* ]]; then +# Install libicu on non-ubuntu, non-debian +if [[ ! "$os_id" =~ ^(ubuntu|debian).* ]]; then max_attempts=5 attempt_count=0 success=false @@ -63,8 +63,8 @@ if [[ ! "$os_id" =~ ^ubuntu.* ]]; then done fi -# Install dependencies for ubuntu -if [[ "$os_id" =~ ^ubuntu.* ]]; then +# Install dependencies for ubuntu and debian +if [[ "$os_id" =~ ^(ubuntu|debian).* ]]; then echo "Installing dependencies" ./bin/installdependencies.sh fi