From 357673f98f87c82e6c433162cc4e2f498415166c Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Thu, 15 Apr 2021 11:10:29 +0200 Subject: [PATCH] new: [docker-host] compatibility with debian 9 Signed-off-by: Valentin Lab --- .../base-0k/hooks/install.d/30-customize.sh | 41 +++++++++++++++++-- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/precise/base-0k/hooks/install.d/30-customize.sh b/precise/base-0k/hooks/install.d/30-customize.sh index b121a12..83b8878 100755 --- a/precise/base-0k/hooks/install.d/30-customize.sh +++ b/precise/base-0k/hooks/install.d/30-customize.sh @@ -24,12 +24,45 @@ else cp /root/.bashrc /root/.bashrc.pre-install fi -apt-get install fzf fd-find \ + "$backports_list" + ## Update only this repo: + apt-get update -o Dir::Etc::sourcelist="sources.list.d/backports.list" \ + -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" + fi + + ;; + esac + ;; + esac + + apt-get install fzf > /root/.bashrc