conditional readability

This commit is contained in:
Jérémy Lecour 2019-03-22 20:30:23 +01:00
parent cfb4602bed
commit 4a70693114

View file

@ -802,9 +802,9 @@ if is_debian; then
if [ "$IS_EVOLINUXSUDOGROUP" = 1 ]; then if [ "$IS_EVOLINUXSUDOGROUP" = 1 ]; then
if is_debian_stretch; then if is_debian_stretch; then
{ grep -q "^evolinux-sudo:" /etc/group \ if grep -q "^evolinux-sudo:" /etc/group; then
&& grep -q '^%evolinux-sudo ALL=(ALL:ALL) ALL' /etc/sudoers.d/evolinux; grep -q '^%evolinux-sudo ALL=(ALL:ALL) ALL' /etc/sudoers.d/evolinux || failed "IS_EVOLINUXSUDOGROUP"
} || failed "IS_EVOLINUXSUDOGROUP" fi
fi fi
fi fi