From f9aa02ec1a4c24e80a206857d4f68198bb027bb4 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 11 Nov 2024 01:12:29 +0800 Subject: HALF WORK: 2024.12.19 Re-organize file structure. --- docker/crupest-debian-dev/bootstrap/func.bash | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 docker/crupest-debian-dev/bootstrap/func.bash (limited to 'docker/crupest-debian-dev/bootstrap/func.bash') diff --git a/docker/crupest-debian-dev/bootstrap/func.bash b/docker/crupest-debian-dev/bootstrap/func.bash deleted file mode 100644 index 7782035..0000000 --- a/docker/crupest-debian-dev/bootstrap/func.bash +++ /dev/null @@ -1,19 +0,0 @@ -is_true() { - if [[ "$1" =~ 1|on|true ]]; then - return 0 - else - return 1 - fi -} - -append-bash-profile() { - cat "/bootstrap/bash/$1" >> /home/$CRUPEST_DEBIAN_DEV_USER/.bash_profile -} - -append-bashrc() { - cat "/bootstrap/bash/$1" >> /home/$CRUPEST_DEBIAN_DEV_USER/.bashrc -} - -copy-home-dot-file() { - cp "/bootstrap/home-dot/$1" "/home/$CRUPEST_DEBIAN_DEV_USER/.$1" -} -- cgit v1.2.3