From e3963ef578b9aa1c23acf150aca7274a142ddc87 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Sat, 27 May 2023 10:42:27 +0100
Subject: [PATCH] Do not install bind9

---
 build.sh | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/build.sh b/build.sh
index b30c91b..02ecaeb 100755
--- a/build.sh
+++ b/build.sh
@@ -12,8 +12,7 @@ BUILD_PACKAGES="
 
 # Packages required to serve the website and run the services.
 PACKAGES="
-	bind9
-	bind9utils
+	bind9-utils
 	curl
 	git
 	openssh-client
@@ -41,9 +40,9 @@ if [ "x$(which install_packages)" = "x" ]; then
     }
 fi
 
+umask 022
 set -x
 set -e
-umask 022
 
 apt-get -q update
 install_packages ${BUILD_PACKAGES} ${PACKAGES}
@@ -98,6 +97,8 @@ chmod 700 /root/.vagrant.d
 chmod 600 /root/.vagrant.d/insecure_private_key
 
 # Remove packages used for installation.
+set +x
+set +e
 apt-get remove -y --purge ${BUILD_PACKAGES}
 apt-get autoremove -y
 apt-get clean
-- 
GitLab