Update 'install.sh'
This commit is contained in:
parent
effff83698
commit
0d53d60bec
|
@ -21,10 +21,10 @@ function run_install {
|
||||||
touch $HOME/Library/profile.d/000keep.sh
|
touch $HOME/Library/profile.d/000keep.sh
|
||||||
|
|
||||||
# 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
|
||||||
source $HOME/.bashrc
|
echo "new-user-setup: starting $(basename "$FN")..."
|
||||||
echo "new-user-setup: starting $(basename $FN)..."
|
# we used to run these in a subshell but not we don't because we want the environment to persist between
|
||||||
bash "$FN" 2>&1 | tee -a $HOME/Library/Logs/user-setup.log
|
source "$FN"
|
||||||
rm "$FN"
|
rm "$FN"
|
||||||
echo "new-user-setup: removed $(basename $FN)..."
|
echo "new-user-setup: removed $(basename $FN)..."
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue