1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2026-03-02 03:49:29 +00:00

Merge pull request #194 from rasa/rasa/remove-quotes-from-distro

This commit is contained in:
Tim Byrne
2020-01-14 07:14:04 -06:00

1
yadm
View File

@@ -1300,6 +1300,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"