aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-debian-dev/bootstrap/func.bash
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-08-14 00:28:12 +0800
committercrupest <crupest@outlook.com>2024-08-14 11:39:15 +0800
commitd63d1a97d933b7b000a059ac97297dbdef8bf346 (patch)
tree4a6f01b7f72c33da3e3f3c2a80c046d752a0ddc9 /docker/crupest-debian-dev/bootstrap/func.bash
parent851082d559fe3a5bc3c0b57581e65c316b4bd6e0 (diff)
downloadcrupest-d63d1a97d933b7b000a059ac97297dbdef8bf346.tar.gz
crupest-d63d1a97d933b7b000a059ac97297dbdef8bf346.tar.bz2
crupest-d63d1a97d933b7b000a059ac97297dbdef8bf346.zip
fix(docker/debian-dev): copy bash profile into correct home dir.
Diffstat (limited to 'docker/crupest-debian-dev/bootstrap/func.bash')
-rw-r--r--docker/crupest-debian-dev/bootstrap/func.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/crupest-debian-dev/bootstrap/func.bash b/docker/crupest-debian-dev/bootstrap/func.bash
index fb2ee77..d17fa1b 100644
--- a/docker/crupest-debian-dev/bootstrap/func.bash
+++ b/docker/crupest-debian-dev/bootstrap/func.bash
@@ -7,9 +7,9 @@ is_true() {
}
append-bash-profile() {
- cat "/bootstrap/bash-profile/$1" >> /root/.bash_profile
+ cat "/bootstrap/bash-profile/$1" >> /home/$CRUPEST_DEBIAN_DEV_USER/.bash_profile
}
copy-home-dot-file() {
- cp "/bootstrap/home-dot/$1" "/root/.$1"
+ cp "/bootstrap/home-dot/$1" "/home/$CRUPEST_DEBIAN_DEV_USER/.$1"
}