summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Shiau <steven@nchc.org.tw>2011-02-18 06:56:13 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:20:44 +0100
commit87c8dbc24192e69a2208adbeb21e1a417a4c76a5 (patch)
tree90c853126d21a9c619faff3c53d1167239eb388d
parent1ca9abd92a5805a69cac9ffb07cffee9619d0588 (diff)
downloadvyos-live-build-87c8dbc24192e69a2208adbeb21e1a417a4c76a5.tar.gz
vyos-live-build-87c8dbc24192e69a2208adbeb21e1a417a4c76a5.zip
Correcting release filename when caching indices (Closes: #613895).
-rwxr-xr-xscripts/build/lb_chroot_sources6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/lb_chroot_sources b/scripts/build/lb_chroot_sources
index de7c2dfc1..78e647be2 100755
--- a/scripts/build/lb_chroot_sources
+++ b/scripts/build/lb_chroot_sources
@@ -428,9 +428,9 @@ EOF
cp -f cache/indices_bootstrap/*_Sources chroot/var/lib/apt/lists
fi
- if Find_files cache/indices_bootstrap/*_Release*
+ if Find_files cache/indices_bootstrap/*Release*
then
- cp -f cache/indices_bootstrap/*_Release* chroot/var/lib/apt/lists
+ cp -f cache/indices_bootstrap/*Release* chroot/var/lib/apt/lists
fi
if [ "${LB_APT}" = "aptitude" ] && [ ! -x /usr/bin/aptitude ]
@@ -505,7 +505,7 @@ EOF
cp -f chroot/var/lib/apt/lists/*_Sources cache/indices_bootstrap
fi
- cp -f chroot/var/lib/apt/lists/*_Release* cache/indices_bootstrap
+ cp -f chroot/var/lib/apt/lists/*Release* cache/indices_bootstrap
fi
fi