summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/build/chroot_apt2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/chroot_apt b/scripts/build/chroot_apt
index b31ab94ba..3b1204982 100755
--- a/scripts/build/chroot_apt
+++ b/scripts/build/chroot_apt
@@ -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