mirror of
https://github.com/FriendlyNeighborhoodShane/MinMicroG
synced 2024-11-15 00:12:48 +00:00
squash another shellcheck warning
This commit is contained in:
parent
232cef7271
commit
847d3908ac
@ -140,7 +140,7 @@ checkwhitelist() {
|
|||||||
for line in $lines; do
|
for line in $lines; do
|
||||||
[ "$startline" ] && endline="$line" || startline="$line";
|
[ "$startline" ] && endline="$line" || startline="$line";
|
||||||
done;
|
done;
|
||||||
cat "$tmpdir/tmppage" | head -n"$endline" | tail -n+"$startline" | tr -d "\n" | sed "s|<div data|\n|g" | grep -E -e "Protection level: [a-z|]*privileged" -e "Not for use by third-party applications" | grep -oE "android.permission.[A-Z_]*" > "$tmpdir/tmplist";
|
head -n"$endline" "$tmpdir/tmppage" | tail -n+"$startline" | tr -d "\n" | sed "s|<div data|\n|g" | grep -E -e "Protection level: [a-z|]*privileged" -e "Not for use by third-party applications" | grep -oE "android.permission.[A-Z_]*" > "$tmpdir/tmplist";
|
||||||
echo "android.permission.FAKE_PACKAGE_SIGNATURE" >> "$tmpdir/tmplist";
|
echo "android.permission.FAKE_PACKAGE_SIGNATURE" >> "$tmpdir/tmplist";
|
||||||
|
|
||||||
cat "$resdldir/$privpermlist" "$tmpdir/tmplist" 2>/dev/null | sort -u > "$tmpdir/sortedlist";
|
cat "$resdldir/$privpermlist" "$tmpdir/tmplist" 2>/dev/null | sort -u > "$tmpdir/sortedlist";
|
||||||
|
Loading…
Reference in New Issue
Block a user