mirror of
https://github.com/TheLocehiliosan/yadm
synced 2024-10-27 20:34:27 +00:00
Merge pull request #194 from rasa/rasa/remove-quotes-from-distro
This commit is contained in:
commit
4546636336
1
yadm
1
yadm
@ -1300,6 +1300,7 @@ function query_distro() {
|
|||||||
while IFS='' read -r line || [ -n "$line" ]; do
|
while IFS='' read -r line || [ -n "$line" ]; do
|
||||||
if [[ "$line" = ID=* ]]; then
|
if [[ "$line" = ID=* ]]; then
|
||||||
distro="${line#ID=}"
|
distro="${line#ID=}"
|
||||||
|
distro="${distro//\"}"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done < "$OS_RELEASE"
|
done < "$OS_RELEASE"
|
||||||
|
Loading…
Reference in New Issue
Block a user