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
|
||||
|
||||
# run modular setup scripts
|
||||
for FN in $HOME/Library/user-setup/*.sh ; do
|
||||
source $HOME/.bashrc
|
||||
echo "new-user-setup: starting $(basename $FN)..."
|
||||
bash "$FN" 2>&1 | tee -a $HOME/Library/Logs/user-setup.log
|
||||
for FN in "$HOME/Library/user-setup/*.sh" ; do
|
||||
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
|
||||
source "$FN"
|
||||
rm "$FN"
|
||||
echo "new-user-setup: removed $(basename $FN)..."
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue