Optimize OS/release/version detection for faster execution #70

Merged
benpro merged 86 commits from fast-debian-check into master 2019-04-05 11:01:57 +02:00
Showing only changes of commit 4a70693114 - Show all commits

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