le-multiterminal: Fix "black screen" after upgrade

When user tries to upgrade from LE 5.0.0 to 5.0.2 he would get a black
screen.
Signed-off-by: 's avatarDiego Giovane Pasqualin <dpasqualin@c3sl.ufpr.br>
parent f49860e0
Package: le-multiterminal
Priority: important
Section: main
Version: 0.0.24
Version: 0.0.26
Maintainer: LE Maintainer <le-maintainer@c3sl.ufpr.br>
Description: Userful multiplier for Linux Educacional 5
Architecture: all
......
#!/bin/bash
#
# Copyright (C) 2004-2012 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-multiterminal
#
# le-multiterminal is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
# When upgrading from old LE versions to the current one we have been facing
# an annoying problem. Basically after upgrading and rebooting the system
# the screen goes black and the user cannot interact with the computer. This
# is caused because the userful-multiseat trigger that modify the config
# file /etc/lightdm/lightdm.conf for some reason is not fired properly after
# the upgrade, and the multiseat config is not set correctly on that file.
#
# Reinstalling le-conf will trigger the userful-multiseat package and make
# sure all necessary options are set on lightdm.conf.
# FIXME the right way to do this would be find out why the trigger is not
# being called in the first place.
echo "Reinstalling le-conf to fix lightdm.conf"
apt-get install --reinstall le-conf || true
# This script is supposed to run only once
rm -f $0
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