diff options
-rwxr-xr-x | inst | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -275,6 +275,7 @@ do_apt_update() in_target apt-get update || return 1 in_target apt-get -q -y dist-upgrade || return 1 + in_target apt-get clean || return 1 return 0 } @@ -289,6 +290,7 @@ do_locale_setup() if ! [ "x${locale}" = 'xC' ] || ! [ "x${supported_locales}" = 'x' ] then in_target apt-get -q -y install locales + in_target apt-get clean || return 1 gen=false for l in $(printf '%s\n' "${locale}" ${supported_locales} | \ @@ -347,6 +349,7 @@ do_user_setup() "/home/${user_name}" || return 1 if ! ${root_login}; then in_target apt-get -q -y install sudo || return 1 + in_target apt-get clean || return 1 case " ${user_groups} " in *' sudo '*);; *) @@ -397,6 +400,7 @@ do_install_extra() i=0 while [ ${i} -lt 3 ]; do in_target apt-get -q -y install ${postinst_pkgs} && return 0 + in_target apt-get clean || return 1 i=$((${i} + 1)) done |