Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
fa3b7b55
Commit
fa3b7b55
authored
Oct 26, 2020
by
Igor Pecovnik
Browse files
Proper fix for non-interactive mode
parent
0134954f
Changes
1
Show whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
fa3b7b55
...
...
@@ -931,8 +931,8 @@ function jobs ()
cp
-R
--attributes-only
/etc/skel/.oh-my-zsh /root/.oh-my-zsh
cp
/etc/skel/.zshrc /root/.zshrc
# and for selected normal user
add_choose_user
if
[[
-n
"
$CHOSEN_USER
"
&&
-z
$scripted
]]
;
then
[[
-z
$scripted
]]
&&
add_choose_user
if
[[
-n
"
$CHOSEN_USER
"
]]
;
then
chsh
-s
$(
grep
/zsh
$
/etc/shells |
tail
-1
)
$CHOSEN_USER
# copy cache directory
cp
-R
--attributes-only
/etc/skel/.oh-my-zsh /home/
$CHOSEN_USER
/.oh-my-zsh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment