diff --git a/scripts/chroot.sh b/scripts/chroot.sh index e6572d7dae6d52509b8f2d70a6f560389135fe64..4a8eb988d28b57185898da7e4416e825c1e61f87 100755 --- a/scripts/chroot.sh +++ b/scripts/chroot.sh @@ -408,8 +408,7 @@ cat > ${DIR}/chroot_script.sh <<-__EOF__ } run_deborphan () { - packages="deborphan" - for pkg in \${packages} ; do check_n_install ; done + apt-get -y --force-yes install deborphan deborphan | xargs apt-get -y remove --purge