forked from ungleich-public/cdist
Make grep more specific
package name should be an exact match, not a substring
This commit is contained in:
parent
90488d2e9e
commit
ffeaafe9b6
1 changed files with 1 additions and 1 deletions
|
@ -24,4 +24,4 @@ else
|
|||
name="$__object_id"
|
||||
fi
|
||||
|
||||
apt-mark showhold | grep -Fq "$name" && echo hold || echo unhold
|
||||
apt-mark showhold | grep -q "^${name}$" && echo hold || echo unhold
|
||||
|
|
Loading…
Reference in a new issue