Remove quotes from distro name
This commit is contained in:
parent
96bce8dbac
commit
43ac19398a
1 changed files with 1 additions and 0 deletions
1
yadm
1
yadm
|
@ -1262,6 +1262,7 @@ function query_distro() {
|
|||
while IFS='' read -r line || [ -n "$line" ]; do
|
||||
if [[ "$line" = ID=* ]]; then
|
||||
distro="${line#ID=}"
|
||||
distro="${distro//\"}"
|
||||
break
|
||||
fi
|
||||
done < "$OS_RELEASE"
|
||||
|
|
Loading…
Reference in a new issue