diff --git a/fetch b/fetch index ba2c8bd7..fbd76fef 100755 --- a/fetch +++ b/fetch @@ -432,7 +432,7 @@ case "$os" in distro="$(grep -h '^NAME=' /etc/*ease)" [ -z "$distro" ] && distro="$(grep -h 'TAILS_PRODUCT_NAME' /etc/*ease)" - distro=${distro#NAME\=*} + distro=${distro/*NAME\=} distro=${distro#\"*} distro=${distro%*\"} fi