diff options
author | Holger Paradies <retabell@gmx.de> | 2024-02-25 19:34:06 +0100 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2024-02-25 19:34:06 +0100 |
commit | e70ddda36cbe10b2d1a4698c6e98d277ec0fc759 (patch) | |
tree | a239bbb857f1d08226ffdbaf66a93eb5faf055e7 /config/chroot_local-hooks/01-apt-get-update | |
parent | f29acd7e353508ad6b1cfc419315ebb6ebd90960 (diff) | |
download | kanotix-e70ddda36cbe10b2d1a4698c6e98d277ec0fc759.zip kanotix-e70ddda36cbe10b2d1a4698c6e98d277ec0fc759.tar.gz |
Have apt update in chroot
Provide updated apt-cache
Diffstat (limited to 'config/chroot_local-hooks/01-apt-get-update')
-rwxr-xr-x | config/chroot_local-hooks/01-apt-get-update | 6 |
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 |