summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_local-packages
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_local-packages')
-rwxr-xr-xhelpers/lh_chroot_local-packages10
1 files changed, 1 insertions, 9 deletions
diff --git a/helpers/lh_chroot_local-packages b/helpers/lh_chroot_local-packages
index 96565a2fb..5b7d2979a 100755
--- a/helpers/lh_chroot_local-packages
+++ b/helpers/lh_chroot_local-packages
@@ -68,15 +68,7 @@ then
Chroot "xargs --arg-file=/root/local-packages dpkg -i" || true
# Cleaning dependencies
- case "${LH_APT}" in
- apt|apt-get)
- Chroot "apt-get install -f --yes"
- ;;
-
- aptitude)
- Chroot "aptitude install -f --assume-yes"
- ;;
- esac
+ Apt install -f
# Removing package files
rm -f chroot/root/*.deb