Skip to content
Snippets Groups Projects
Commit 5fe323e3 authored by Lucas Manika Koeb's avatar Lucas Manika Koeb
Browse files

le4/light: 30_upgrade_le4 is no longer needed

parent 5e4a7f13
No related branches found
No related tags found
No related merge requests found
../../../scripts/30-upgrade_le4 ../../../scripts/30-upgrade
\ No newline at end of file \ No newline at end of file
#!/bin/bash
# Copyright (C) 2004-2010 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-base
#
# le-base 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.
#------------------------------------------------------------------------------
DIR=$(readlink -f "$0")
. "`dirname "$(echo "$DIR")"`/common-functions.sh"
checkUser || exit 1
checkMountedFS || exit 2
loadConf "$PREFIX/conf/$1/create-iso.conf" $1
initChroot
# Changes distro
chroot "$CHROOTDIR" apt-get update
chroot "$CHROOTDIR" apt-get -y --force-yes upgrade
#echo "chroot \"$CHROOTDIR\" useradd -N -m --shell /bin/bash \"le-live\""
#chroot "$CHROOTDIR" useradd -N -m -g admin --shell /bin/bash "le-live"
#chroot "$CHROOTDIR" echo "le-live ALL=NOPASSWD:ALL" >> /etc/sudoers
#echo "useradd: ADICIONADO"
closeChroot
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment