anydesk: fix eula filtering

Close: #30929
This commit is contained in:
Đoàn Trần Công Danh 2021-05-18 23:35:01 +07:00
parent fc25453709
commit 550b51c2d7
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ _eula_digest=f6386c15e187b6eac0ccd2564d3a873ae07d4b46a6b61dda13464caf5d54a319
post_extract() {
$XBPS_FETCH_CMD -o eula.html https://anydesk.com/en/terms
< eula.html w3m -dump -I utf-8 -T text/html |
sed -n '/Terms [&] Conditions/,/envelope-p/{/envelope-p/!p}' >eula.txt
sed -n '/envelope.p/q;/Terms [&] Conditions/,$p' >eula.txt
filesum="$($XBPS_DIGEST_CMD eula.txt)"
if [ "$filesum" != $_eula_digest ]; then