Grep within metadata.xml too.
This commit is contained in:
parent
6fbc0a0042
commit
51e3d9cd78
@ -453,7 +453,7 @@ main() {
|
||||
|
||||
say "${GREEN}Grepping for package references...${RESET}"
|
||||
# -n is for line numbers, -C would be non-POSIX
|
||||
if grep -n "${regex}" ${SC_ROOT}*/*/*.ebuild ${SC_ROOT}profiles/package.mask; then
|
||||
if grep -n "${regex}" ${SC_ROOT}*/*/*.ebuild ${SC_ROOT}*/*/metadata.xml ${SC_ROOT}profiles/package.mask; then
|
||||
echo
|
||||
[ -n "${force}" ] || die 'Please remove the removed package references or use --force.'
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user