summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-xconfig/chroot_local-hooks/01-apt-get-update6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/01-apt-get-update b/config/chroot_local-hooks/01-apt-get-update
new file mode 100755
index 0000000..936697c
--- /dev/null
+++ b/config/chroot_local-hooks/01-apt-get-update
@@ -0,0 +1,6 @@
+#!/bin/sh
+for file in /root/config/*; do [ -r $file ] && . $file; done
+
+
+# have proper cache
+apt-get update