load desktop pictures from the repo
This commit is contained in:
parent
f672bb4ce8
commit
4dc78f5a84
|
@ -19,7 +19,14 @@ function run_install {
|
||||||
mkdir -p $HOME/Library/profile.d
|
mkdir -p $HOME/Library/profile.d
|
||||||
touch $HOME/Library/bashrc.d/000keep.sh
|
touch $HOME/Library/bashrc.d/000keep.sh
|
||||||
touch $HOME/Library/profile.d/000keep.sh
|
touch $HOME/Library/profile.d/000keep.sh
|
||||||
|
|
||||||
|
# FIXME move this into the modular setup scripts
|
||||||
|
mkdir -p "$HOME/Library/Desktop Pictures"
|
||||||
|
rsync -avP $TMPDIR/osx/custompkg/root/Library/Desktop?Pictures/ $HOME/Library/Desktop?Pictures/
|
||||||
|
defaults write \
|
||||||
|
~/Library/Preferences/com.apple.systempreferences DSKDesktopPrefPane \
|
||||||
|
'<dict><key>UserFolderPaths</key><array><string>/Users/user/Library/Desktop Pictures</string></array></dict>'
|
||||||
|
|
||||||
# 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
|
||||||
echo "new-user-setup: starting $(basename "$FN")..."
|
echo "new-user-setup: starting $(basename "$FN")..."
|
||||||
|
|
Loading…
Reference in New Issue