diff --git a/conf/resdl-download.txt b/conf/resdl-download.txt index 39cebea..852f1b8 100644 --- a/conf/resdl-download.txt +++ b/conf/resdl-download.txt @@ -203,7 +203,7 @@ checkwhitelist() { for line in $lines; do [ "$startline" ] && endline="$line" || startline="$line"; done; - tail -n+"$(( startline + 1 ))" "$tmpdir/tmppage" | head -n"$(( endline - startline - 1 ))" | tr -d "\n" | sed "s|
"$tmpdir/tmplist"; + tail -n+"$(( startline + 1 ))" "$tmpdir/tmppage" | head -n"$(( endline - startline - 1 ))" | tr -d "\n" | sed "s|
"$tmpdir/tmplist"; echo "android.permission.FAKE_PACKAGE_SIGNATURE" >> "$tmpdir/tmplist"; cat "$resdldir/$privpermlist" "$tmpdir/tmplist" 2>/dev/null | sort -u > "$tmpdir/sortedlist";