blob: 778203516696dd449c24f6c12f55dcb53e98db10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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"
}
|