From feaf64a34431734e1bf604a8fd093b51fd03c990 Mon Sep 17 00:00:00 2001 From: aptalca Date: Tue, 29 Jun 2021 11:29:23 -0400 Subject: [PATCH] standardize apt-get --- root/etc/cont-init.d/95-apt-get | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 root/etc/cont-init.d/95-apt-get diff --git a/root/etc/cont-init.d/95-apt-get b/root/etc/cont-init.d/95-apt-get new file mode 100644 index 0000000..4797eca --- /dev/null +++ b/root/etc/cont-init.d/95-apt-get @@ -0,0 +1,5 @@ +#!/usr/bin/with-contenv bash + +if [ -f /usr/bin/apt ]; then + apt-get update +fi \ No newline at end of file