fix(installer): create systemd dirs if missing (#2379)

This commit is contained in:
Jonas L 2023-02-20 19:17:13 +01:00 committed by GitHub
parent 7cc3f59f40
commit ce36197ef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -294,8 +294,7 @@ install_service() {
[[ -f "$service_src" ]] || error "service '$service_name' src path '$service_src' does not exists!" [[ -f "$service_src" ]] || error "service '$service_name' src path '$service_src' does not exists!"
# TODO: Remove when Bionic support is dropped if [[ ! -d "$SERVICE_DIR" ]]; then
if [[ $distro == "bionic" ]]; then
mkdir -p "$SERVICE_DIR" mkdir -p "$SERVICE_DIR"
fi fi