Commit 58536b60 authored by Diego Pasqualin's avatar Diego Pasqualin
Browse files

ubiquity-le: Fix user related error messages on Minicom


Signed-off-by: default avatarDiego Pasqualin <dpasqualin@c3sl.ufpr.br>
parent e14d1a91
......@@ -4,6 +4,8 @@ if 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
......
......@@ -169,7 +169,8 @@ class PageGtk(PageBase):
self.hostname_timeout_id = 0
result = os.popen('/usr/lib/ubiquity/le-utils/le-env')
if result.readline() == 'escola':
distro = result.readline()
if distro in ['escola', 'minicom']:
self.page = None
result.close()
return
......
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