forked from evolix/ansible-roles
evocheck: fix quotes on grep regular expressions
This commit is contained in:
parent
4d7e9b1c3f
commit
dbb72ef2a0
|
@ -143,7 +143,7 @@ is_pack_samba(){
|
||||||
|
|
||||||
is_installed(){
|
is_installed(){
|
||||||
for pkg in $*; do
|
for pkg in $*; do
|
||||||
dpkg -l $pkg 2>/dev/null |grep -q -E ^(i|h)i || return 1
|
dpkg -l $pkg 2>/dev/null |grep -q -E '^(i|h)i' || return 1
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue