Commit 2ef1c8f7 authored by Diego Pasqualin's avatar Diego Pasqualin
Browse files

ubiquity-le: le-env: Redirect error messages to stderr

This prevents the isntaller to show some meaninful error messages
Signed-off-by: default avatarDiego Pasqualin <>
parent b60d8b71
if dpkg -l le-users | grep -q "^ii"; then
if dpkg -l le-users 2>/dev/null | grep -q "^ii"; then
echo -n 'escola'
elif dpkg -l le-desktop | grep -q "^ii"; then
elif dpkg -l le-desktop 2>/dev/null | grep -q "^ii"; then
echo -n 'home'
echo -n 'unknow'
echo -n 'unknown'
exit 0
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