osx/custompkg/root/usr/local/bin/new-user-setup

11 lines
197 B
Plaintext
Raw Normal View History

2016-09-30 05:06:32 +00:00
#!/bin/bash
2016-10-03 21:17:48 +00:00
2016-10-08 00:37:22 +00:00
# Copy files from /etc/skel to homedir
rsync --no-owner -avP /etc/skel/ $HOME/
2016-09-30 05:06:32 +00:00
2016-10-08 00:37:22 +00:00
# run modular setup scripts
for FN in $HOME/Library/user-setup/*.sh ; do
source $FN
rm $FN
2016-09-30 05:06:32 +00:00
done