Skip to content

Commit

Permalink
user_template function
Browse files Browse the repository at this point in the history
corrected the variable name for existing user locations
  • Loading branch information
krispayne committed Aug 1, 2016
1 parent 24669d2 commit 50ad65e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ElCapitan_CIS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ user_template() {
/usr/sbin/chown "${USER_UID}" "${USER_HOME}"/Library/Preferences
fi
if [ -d "${USER_HOME}"/Library/Preferences ]; then
/usr/bin/defaults write "${USER_TEMPLATE}"/Library/Preferences/"${PREFERENCE_DOMAIN}" "${PREFERENCE_KEY}" "${PREFERENCE_ACTION_1}" "${PREFERENCE_ACTION_2}" "${PREFERENCE_ACTION_3}"
/usr/bin/defaults write "${USER_HOME}"/Library/Preferences/"${PREFERENCE_DOMAIN}" "${PREFERENCE_KEY}" "${PREFERENCE_ACTION_1}" "${PREFERENCE_ACTION_2}" "${PREFERENCE_ACTION_3}"
fi
fi
done
Expand Down

0 comments on commit 50ad65e

Please sign in to comment.