diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-02-13 11:14:10 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-02-20 23:07:54 +0800 |
commit | 56611f29e11f8729cf43ca422dd557f201727846 (patch) | |
tree | c858cf3a1515e1ad36c18a267fd44e15d524f136 /docker/debian-dev/bootstrap/func.bash | |
parent | f4c3bd4a2eae6861a6b6c053ab62b6538b64a1ff (diff) | |
download | crupest-56611f29e11f8729cf43ca422dd557f201727846.tar.gz crupest-56611f29e11f8729cf43ca422dd557f201727846.tar.bz2 crupest-56611f29e11f8729cf43ca422dd557f201727846.zip |
feat(debian-dev): trim it.
Diffstat (limited to 'docker/debian-dev/bootstrap/func.bash')
-rw-r--r-- | docker/debian-dev/bootstrap/func.bash | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/docker/debian-dev/bootstrap/func.bash b/docker/debian-dev/bootstrap/func.bash deleted file mode 100644 index 7782035..0000000 --- a/docker/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" -} |