From 0e8f8eebe1543dafb10ed0d1f7087ffa89a295ea Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 27 Dec 2023 23:58:24 +0800 Subject: docker(debian-dev): add support to disable sbuild. --- docker/debian-dev/bootstrap/func.bash | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docker/debian-dev/bootstrap/func.bash') diff --git a/docker/debian-dev/bootstrap/func.bash b/docker/debian-dev/bootstrap/func.bash index 82088f4..fb2ee77 100644 --- a/docker/debian-dev/bootstrap/func.bash +++ b/docker/debian-dev/bootstrap/func.bash @@ -1,3 +1,11 @@ +is_true() { + if [[ "$1" =~ 1|on|true ]]; then + return 0 + else + return 1 + fi +} + append-bash-profile() { cat "/bootstrap/bash-profile/$1" >> /root/.bash_profile } -- cgit v1.2.3