Skip to content
Snippets Groups Projects
Commit 3c2f8e0a authored by Diego Giovane Pasqualin's avatar Diego Giovane Pasqualin
Browse files

Add le5-stable repository to minicom installation

parent 95437217
Branches
No related tags found
No related merge requests found
...@@ -52,6 +52,8 @@ rm -f "$CHROOTDIR"/etc/apt/sources.list.d/java-repos.list ...@@ -52,6 +52,8 @@ rm -f "$CHROOTDIR"/etc/apt/sources.list.d/java-repos.list
if [[ "$1" == minicom/* ]]; then if [[ "$1" == minicom/* ]]; then
echo "deb http://le.c3sl.ufpr.br/le5 educ main" \ echo "deb http://le.c3sl.ufpr.br/le5 educ main" \
>> "$CHROOTDIR"/etc/apt/sources.list.d/le-repos.list >> "$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 else
echo "deb http://$LEHOST educ main" \ echo "deb http://$LEHOST educ main" \
>> "$CHROOTDIR"/etc/apt/sources.list.d/le-repos.list >> "$CHROOTDIR"/etc/apt/sources.list.d/le-repos.list
...@@ -90,9 +92,13 @@ sed -i s/'exec update-grub'/'# exec update-grub'/g \ ...@@ -90,9 +92,13 @@ sed -i s/'exec update-grub'/'# exec update-grub'/g \
"$CHROOTDIR"/etc/kernel/postinst.d/zz-update-grub "$CHROOTDIR"/etc/kernel/postinst.d/zz-update-grub
# Installs le-autoupgrade so the apt_preferences file is in place for the # Installs {le,minicom}-autoupgrade so the apt_preferences file is in place
# rest of the process # 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 chroot "$CHROOTDIR" apt-get -y --force-yes install le-autoupgrade
fi
closeChroot closeChroot
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment