From 31256d6be65d930d7089e602dc4e0fbda75a701b Mon Sep 17 00:00:00 2001 From: Ma Chao Date: Thu, 16 Apr 2020 10:47:00 +0800 Subject: [PATCH] chore: make it straightforward (#562) Co-authored-by: luc <814640709@qq.com> --- install_awesome_parameterized.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_awesome_parameterized.sh b/install_awesome_parameterized.sh index d83f6dc6..f93f6fba 100755 --- a/install_awesome_parameterized.sh +++ b/install_awesome_parameterized.sh @@ -17,7 +17,7 @@ catch endtry" if [ $2 == "--all" ]; then - USERS=($(ls -l /home | awk '{if(NR>1)print $9}')) + USERS=($(ls /home)) for user in ${USERS[*]}; do homepath=$(eval echo "~$user") IFS=''