1
0
Fork 0
mirror of synced 2024-06-02 23:31:10 -04: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
commit 4546636336
No known key found for this signature in database
GPG key ID: 14DB4FC2465A4B12

1
yadm
View file

@ -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"