diff --git a/scripts/00-update b/scripts/00-update index a24d1f6cc7fe88213f8010d427880731c7f57272..b582096c7b96a244cb452266a1ab8ed6331252e3 100755 --- a/scripts/00-update +++ b/scripts/00-update @@ -52,6 +52,8 @@ rm -f "$CHROOTDIR"/etc/apt/sources.list.d/java-repos.list if [[ "$1" == minicom/* ]]; then echo "deb http://le.c3sl.ufpr.br/le5 educ main" \ >> "$CHROOTDIR"/etc/apt/sources.list.d/le-repos.list + echo "deb http://le.c3sl.ufpr.br/le5 le5-stable main" \ + >> "$CHROOTDIR"/etc/apt/sources.list.d/le-repos.list else echo "deb http://$LEHOST educ main" \ >> "$CHROOTDIR"/etc/apt/sources.list.d/le-repos.list @@ -90,9 +92,13 @@ sed -i s/'exec update-grub'/'# exec update-grub'/g \ "$CHROOTDIR"/etc/kernel/postinst.d/zz-update-grub -# Installs le-autoupgrade so the apt_preferences file is in place for the -# rest of the process -chroot "$CHROOTDIR" apt-get -y --force-yes install le-autoupgrade +# Installs {le,minicom}-autoupgrade so the apt_preferences file is in place +# for the rest of the process +if [[ "$1" == minicom/* ]]; then + chroot "$CHROOTDIR" apt-get -y --force-yes install minicom-autoupgrade +else + chroot "$CHROOTDIR" apt-get -y --force-yes install le-autoupgrade +fi closeChroot