Change substitution to also work with tails
This commit is contained in:
parent
7132a82571
commit
6f46d44435
1 changed files with 1 additions and 1 deletions
2
fetch
2
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
|
||||
|
|
Loading…
Reference in a new issue