1
0
Fork 0
mirror of synced 2024-12-13 02:45:45 -05:00

Remove quotes from distro name

This commit is contained in:
Ross Smith II 2019-12-06 20:38:37 -08:00
parent 96bce8dbac
commit 43ac19398a
No known key found for this signature in database
GPG key ID: A05F962FB6A849D2

1
yadm
View file

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