Skip to content

Commit

Permalink
Merge pull request #263 from meineerde/setup_rvm_group_users-with-no-…
Browse files Browse the repository at this point in the history
…users

Fix setup_rvm_group_users for the case when there are no additional users
  • Loading branch information
wayneeseguin committed May 6, 2011
2 parents 940e05b + 3ba471e commit 129c157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/functions/installer
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ setup_rvm_group_users()
{
# TODO: implement this. For now we'll use a naieve approach based on homes.
user_homes=$(find /home/ -mindepth 1 -maxdepth 1 -type d)
for user_home in "${user_homes[@]}" ; do
for user_home in ${user_homes[@]} ; do
# TODO: Check if user is a login user.
# TODO: Skip if user is already in the RVM group.
user="${user_home//*\/}"
Expand Down

0 comments on commit 129c157

Please sign in to comment.