Correcting a typo in chroot_apt when re-configuring apt preferences, found by Thanatermesis <thanatermesis@gmail.com> (Closes: #685924).

This commit is contained in:
Daniel Baumann 2012-11-19 16:21:19 +01:00
parent 3138b1a4fa
commit e7a6543499
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ EOF
cp -aL ${_FILE} chroot/etc/apt/preferences.d
if [ -f chroot/etc/apt/preferences.d/$(basename ${_FILE}) ]
if [ -f chroot/etc/apt/preferences.d/$(basename ${_FILE}).orig ]
then
mv chroot/etc/apt/preferences.d/$(basename ${_FILE}).orig chroot/etc/apt/preferences.d/$(basename ${_FILE})
fi