Correct keyring packages temporary workaround to not fail when aptitude is selected (Closes: #630919).

This commit is contained in:
Daniel Baumann 2011-06-18 23:10:39 +02:00
parent 75f87204da
commit bfadca3225
1 changed files with 4 additions and 4 deletions

View File

@ -497,13 +497,13 @@ EOF
# Installing keyring packages
if [ -n "${LB_KEYRING_PACKAGES}" ]
then
# Temporary hack (FIXME)
if [ "${LB_DERIVATIVE}" = "true" ]
then
_APT="--force-yes"
# Temporary hack (FIXME)
Chroot "apt-get ${APT_OPTIONS} --force-yes install ${LB_KEYRING_PACKAGES}"
else
Apt chroot "install ${LB_KEYRING_PACKAGES}"
fi
Apt chroot "--force-yes install ${LB_KEYRING_PACKAGES}"
fi
rm -rf chroot/var/cache/apt/*.bin