diff --git a/degooglify.sh b/degooglify.sh index f2b8c65e5afb9f2d2804c97364227f1de7c7c9f6..0452d1e450cfd1b48bdc0ab90f11b5b4c0618838 100755 --- a/degooglify.sh +++ b/degooglify.sh @@ -50,8 +50,7 @@ function curlwget { # # $1 -- URL to handle function get_local_filename_from_url() { - echo -n "$1" | sed -E -e 's%https://fonts.googleapis.com/css\?family=%%' -e 's/&(amp;)?/__/' | tr '|:+,=' '_-' - echo '.css' + echo "$1.css" | sed -E -e 's%https://fonts.googleapis.com/css\?family=%%' -e 's/&(amp;)?/__/' | tr '|:+,=' '_-' }