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

11 lines
202 B
Plaintext
Raw Normal View History

2016-09-30 05:06:32 +00:00
#!/bin/bash
2016-10-03 21:17:48 +00:00
# Overlay files from /etc/skel to homedir
2016-10-08 00:37:22 +00:00
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
bash "$FN"
rm "$FN"
2016-09-30 05:06:32 +00:00
done