Correcting a typo in chroot_apt when re-configuring apt preferences, found by Thanatermesis <thanatermesis@gmail.com> (Closes: #685924).
This commit is contained in:
parent
3138b1a4fa
commit
e7a6543499
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue