log user-setup scripts to logfile

This commit is contained in:
Jeffrey Paul 2016-10-19 18:34:52 -04:00
parent 1e4249b192
commit e0bd35a838
1 changed files with 1 additions and 1 deletions

View File

@ -5,6 +5,6 @@ rsync --no-owner -avP /etc/skel/ $HOME/
# run modular setup scripts
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"
done