1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
Description: Use packaged version of publicsuffix instead embedded one
Author: Axel Beckert <abe@debian.org>
Forwarded: not needed
@@ -19,7 +19,7 @@
echo '/* Automatically generated by gen-suffix */'
echo
echo "static_const const_char_ptr domain_$file[] = {"
- (cat public_suffix_list.dat; echo onion) | sed 's/[ ][ ]*$//' | grep -v '\/\/' | grep -v '^$' | $filter | LC_ALL=en_US.utf8 idn2 | sort -u | sed 's/^\(.*\)$/ "\1",/'
+ (cat /usr/share/publicsuffix/public_suffix_list.dat; echo onion) | sed 's/[ ][ ]*$//' | grep -v '\/\/' | grep -v '^$' | $filter | LC_ALL=en_US.utf8 idn2 | sort -u | sed 's/^\(.*\)$/ "\1",/'
echo "};"
) >../$file.inc
if grep -q '[^"/ ]\*' ../$file.inc; then
|