fix: packaging scripts and config
All checks were successful
Cadoles/bouncer/pipeline/head This commit looks good

This commit is contained in:
2023-05-28 15:41:40 +02:00
parent e66938f1d3
commit 8f0501b445
3 changed files with 8 additions and 7 deletions

View File

@ -28,7 +28,7 @@ cleanInstall() {
service ${service_name} restart || :
else
if [[ "${systemd_version}" -lt 231 ]]; then
if [ "${systemd_version}" -lt 231 ]; then
printf "\033[31m systemd version %s is less then 231, fixing the service file \033[0m\n" "${systemd_version}"
sed -i "s/=+/=/g" /usr/lib/systemd/system/${service_name}.service
fi