Commit 132ab7ae authored by Lucas Manika Koeb's avatar Lucas Manika Koeb

le-conf: Change /etc/lsb-release

This file is used to determine the system name that appears on grub. Now it has the correct
information.
Signed-off-by: default avatarLucas Manika Koeb <lmk08@c3sl.ufpr.br>
parent 19c0b002
Package: le5-conf
Package: le-conf
Priority: important
Section: main
Version:
......
#!/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 le5-greeter
#
# le5-greeter 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.
# Files to divert:
DIVERTS="/etc/lsb-release"
if [[ "$1" != "upgrade" ]]; then
for file in $DIVERTS; do
rm -f ${file}
dpkg-divert --package le-base --remove --rename \
--divert ${file}{.real,}
done
fi
exit 0
#!/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 le5-greeter
#
# le5-greeter 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.
# Files to divert:
DIVERTS="/etc/lsb-release"
# Divert files:
for file in $DIVERTS; do
dpkg-divert --divert ${file}.lightdm --rename ${file}
done
exit 0
DISTRIB_ID=Linux Educacional
DISTRIB_RELEASE=5.0
DISTRIB_CODENAME=le5
DISTRIB_DESCRIPTION="Linux Educacional 5.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