We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 698778c commit 97e7ed8Copy full SHA for 97e7ed8
assets/fs/etc/skel/profile.d/cfg_from_skel
@@ -12,7 +12,7 @@
12
# do we care that all virtual users within that container
13
# share these keys? (Well, I don't at least).
14
#
15
-do() {
+_do() {
16
local files=".gitconfig .aws .ssh"
17
local h=$HOME
18
local uid=$(id -u)
@@ -22,11 +22,11 @@ do() {
22
for f in $files; do
23
skel=/etc/skel/$f
24
if [[ ! -e $h/$f ]] && [[ -e $skel ]]; then
25
- echo "INFO: ... seeding $h from $skel
+ echo "INFO: ... seeding $h from $skel"
26
su-exec root cp -a $skel $h/
27
chown -R $uid:$gid $h/$f
28
fi
29
done
30
}
31
-do
32
-unset do
+_do
+unset _do
0 commit comments