Commit dcdf6190 authored by Dylan Araps's avatar Dylan Araps

Distro: [Linux] Fix incorrect quoting

parent b1b62261
...@@ -172,8 +172,8 @@ getdistro() { ...@@ -172,8 +172,8 @@ getdistro() {
esac esac
# Workarounds for distros that go against the os-release standard. # Workarounds for distros that go against the os-release standard.
[ -z "$(trim $distro")" ] && distro="$(awk '/BLAG/ {print $1; exit}' /etc/*ease /usr/lib/*ease)" [ -z "$(trim "$distro")" ] && distro="$(awk '/BLAG/ {print $1; exit}' /etc/*ease /usr/lib/*ease)"
[ -z "$(trim $distro")" ] && distro="$(awk -F'=' '{print $2}' /etc/*ease /usr/lib/*ease)" [ -z "$(trim "$distro")" ] && distro="$(awk -F'=' '{print $2}' /etc/*ease /usr/lib/*ease)"
fi fi
distro="${distro//\"}" distro="${distro//\"}"
distro="${distro//\'}" distro="${distro//\'}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment