summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_sources
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_sources')
-rwxr-xr-xhelpers/lh_chroot_sources4
1 files changed, 4 insertions, 0 deletions
diff --git a/helpers/lh_chroot_sources b/helpers/lh_chroot_sources
index f1bab8e..25713a1 100755
--- a/helpers/lh_chroot_sources
+++ b/helpers/lh_chroot_sources
@@ -151,6 +151,8 @@ case "${1}" in
if [ "${LH_APT}" = "apt" ] || [ "${LH_APT}" = "apt-get" ]
then
Chroot "apt-get update"
+ Chroot "apt-get --yes upgrade"
+ Chroot "apt-get --yes dist-upgrade"
elif [ "${LH_APT}" = "aptitude" ]
then
if [ ! -x /usr/bin/aptitude ]
@@ -160,6 +162,8 @@ case "${1}" in
fi
Chroot "aptitude update"
+ Chroot "aptitude --assume-yes upgrade"
+ Chroot "aptitude --assume-yes dist-upgrade"
fi
# Installing keyring packages