diff --git a/enabled-scripts/le4/light/30-upgrade b/enabled-scripts/le4/light/30-upgrade index 2469591b2334f4bb32baa00ae66e5aad09eb162c..f2643c73f05dc5749d1213ecf74da9b245449c49 120000 --- a/enabled-scripts/le4/light/30-upgrade +++ b/enabled-scripts/le4/light/30-upgrade @@ -1 +1 @@ -../../../scripts/30-upgrade_le4 \ No newline at end of file +../../../scripts/30-upgrade \ No newline at end of file diff --git a/scripts/30-upgrade_le4 b/scripts/30-upgrade_le4 deleted file mode 100755 index fd45ea0891ecf877de05d54d42d6581fa5741522..0000000000000000000000000000000000000000 --- a/scripts/30-upgrade_le4 +++ /dev/null @@ -1,44 +0,0 @@ -#!/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