From ce36197ef74d14d8040b3f2ab34255941784cda3 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Mon, 20 Feb 2023 19:17:13 +0100 Subject: [PATCH] fix(installer): create systemd dirs if missing (#2379) --- install | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install b/install index 20716dfb6..709cdc5bf 100755 --- a/install +++ b/install @@ -294,8 +294,7 @@ install_service() { [[ -f "$service_src" ]] || error "service '$service_name' src path '$service_src' does not exists!" - # TODO: Remove when Bionic support is dropped - if [[ $distro == "bionic" ]]; then + if [[ ! -d "$SERVICE_DIR" ]]; then mkdir -p "$SERVICE_DIR" fi