Applied patch from Erwan Le Gall <elegall@linagora.com> to give a warning when installing local packages with wrong naming scheme.

This commit is contained in:
Daniel Baumann 2008-04-07 12:25:03 +02:00
parent 07a3c54d46
commit 2e25016815
2 changed files with 8 additions and 1 deletions

View File

@ -9,6 +9,7 @@ Patches (alphabetical order):
* Chris Lamb <chris@chris-lamb.co.uk>
* Cyril Brulebois <cyril.brulebois@kerlabs.com>
* David Madore <david.madore@ens.fr>
* Erwan Le Gall <elegall@linagora.com>
* Fathi Boudra <fabo@debian.org>
* Franklin Piat <fpiat@bigfoot.com>
* Frederic Lehobey <Frederic.Lehobey@free.fr>

View File

@ -60,7 +60,13 @@ then
# Installing packages
Chroot "find /root -name *.deb" > chroot/root/local-packages
if [ -s chroot/root/local-packages ]
then
Chroot "xargs --arg-file=/root/local-packages dpkg -i" || true
else
Echo_warning "Local packages must be named with suffix '_all.deb' or '_\$architecture.deb'."
fi
# Cleaning dependencies
Apt install -f