Correcting apt-key cleanup of local dummy signing keys when using local packages, thanks to jhcha54008 <jhcha54008@free.fr>.

This commit is contained in:
Daniel Baumann 2013-01-19 12:49:56 +01:00
parent c1ea3c7fb4
commit 5553c0d992
1 changed files with 2 additions and 2 deletions

View File

@ -889,9 +889,9 @@ EOF
rm -rf chroot/root/packages
# Remove local packages key if it exists
if apt-key list | grep -q ${_LB_LOCAL_KEY_EMAIL}
if Chroot chroot apt-key list | grep -q ${_LB_LOCAL_KEY_EMAIL}
then
apt-key del ${_LB_LOCAL_KEY_EMAIL}
Chroot chroot apt-key del ${_LB_LOCAL_KEY_EMAIL}
fi
# Removing stage file