Commit 572a1cc2 authored by Diego Pasqualin's avatar Diego Pasqualin
Browse files

ubiquity-le: Fix checking for LE/Minicom distribution


Signed-off-by: default avatarDiego Pasqualin <dpasqualin@c3sl.ufpr.br>
parent 053c0efe
#!/bin/bash
if dpkg -l le-users 2>/dev/null | grep -q "^ii"; then
if dpkg -l minicom-{client,server}-all 2>/dev/null | grep -q "^ii"; then
echo -n 'minicom'
elif dpkg -l le-users 2>/dev/null | grep -q "^ii"; then
echo -n 'escola'
elif dpkg -l le-desktop 2>/dev/null | grep -q "^ii"; then
echo -n 'home'
elif dpkg -l minicom-{client,server}-all 2>/dev/null | grep -q "^ii"; then
echo -n 'minicom'
else
echo -n 'unknown'
fi
......
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