Don't run postservice if service is disabled

This commit is contained in:
Philippe Caseiro 2020-11-24 09:30:08 +01:00
parent beb6341981
commit 6bf3f75087
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
#!/bin/bash
[[ $(CreoleGet activerLemon non) == "non" ]] && exit 0
# Updating Configuration cache
cmd="/usr/share/lemonldap-ng/bin/lemonldap-ng-cli update-cache"