summaryrefslogtreecommitdiff
path: root/scripts/build/lb_bootstrap_cdebootstrap
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-06-04 10:52:28 +0200
committerDaniel Baumann <daniel@debian.org>2012-06-04 11:55:22 +0200
commit434307c22d192e1f937915b417615f62b3b6bead (patch)
tree70db63e31fe0d2284d11a220ea2b4ce2d461fc35 /scripts/build/lb_bootstrap_cdebootstrap
parentead507b47ce7f51ff89fc2701c54e681447f096e (diff)
downloadvyos-live-build-434307c22d192e1f937915b417615f62b3b6bead.tar.gz
vyos-live-build-434307c22d192e1f937915b417615f62b3b6bead.zip
Updating cache directory names to consistent naming scheme.
Diffstat (limited to 'scripts/build/lb_bootstrap_cdebootstrap')
-rwxr-xr-xscripts/build/lb_bootstrap_cdebootstrap10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/build/lb_bootstrap_cdebootstrap b/scripts/build/lb_bootstrap_cdebootstrap
index 4bd601dcd..0d5577a48 100755
--- a/scripts/build/lb_bootstrap_cdebootstrap
+++ b/scripts/build/lb_bootstrap_cdebootstrap
@@ -122,10 +122,10 @@ if [ -x "/usr/bin/cdebootstrap" ] || [ -x "/usr/bin/cdebootstrap-static" ]
then
if [ "${LB_CACHE_PACKAGES}" = "true" ]
then
- if ls cache/packages_bootstrap/*.deb > /dev/null 2>&1
+ if ls cache/packages.bootstrap/*.deb > /dev/null 2>&1
then
mkdir -p chroot/var/cache/bootstrap
- cp cache/packages_bootstrap/*.deb chroot/var/cache/bootstrap
+ cp cache/packages.bootstrap/*.deb chroot/var/cache/bootstrap
fi
Echo_breakage "Running ${LB_BOOTSTRAP} (download-only)... "
@@ -137,11 +137,11 @@ then
fi
# Removing old cache
- rm -f cache/packages_bootstrap/*.deb
+ rm -f cache/packages.bootstrap/*.deb
# Saving new cache
- mkdir -p cache/packages_bootstrap
- cp chroot/var/cache/bootstrap/*.deb cache/packages_bootstrap
+ mkdir -p cache/packages.bootstrap
+ cp chroot/var/cache/bootstrap/*.deb cache/packages.bootstrap
fi
Echo_breakage "Running ${LB_BOOTSTRAP}... "