trying to fix bug where ~/Library/profile.d/* disappears

此提交包含在:
2016-10-08 13:01:03 -04:00
父節點 edd60e54ca
當前提交 f9109b9026
共有 2 個檔案被更改,包括 4 行新增 和 4 行删除
+3 -3
查看文件
@@ -1,10 +1,10 @@
#!/bin/bash
# Copy files from /etc/skel to homedir
# Overlay files from /etc/skel to homedir
rsync --no-owner -avP /etc/skel/ $HOME/
# run modular setup scripts
for FN in $HOME/Library/user-setup/*.sh ; do
source $FN
rm $FN
bash "$FN"
rm "$FN"
done
+1 -1
查看文件
@@ -5,5 +5,5 @@ touch "$3"/var/db/.AppleDiagnosticsSetupDone
touch "$3"/var/db/.AppleSetupDone
chmod a+rx "$3"/usr/local/bin/*
chmod -R a+r "$3"/etc/skel
chmod -R a+rX "$3"/etc/skel