log user-setup scripts to logfile
This commit is contained in:
parent
1e4249b192
commit
e0bd35a838
@ -5,6 +5,6 @@ rsync --no-owner -avP /etc/skel/ $HOME/
|
|||||||
|
|
||||||
# run modular setup scripts
|
# run modular setup scripts
|
||||||
for FN in $HOME/Library/user-setup/*.sh ; do
|
for FN in $HOME/Library/user-setup/*.sh ; do
|
||||||
bash "$FN"
|
bash "$FN" 2>&1 | tee -a $HOME/Library/Logs/user-setup.log
|
||||||
rm "$FN"
|
rm "$FN"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user