diff options
Diffstat (limited to 'src/common-utils/main.sh')
-rw-r--r-- | src/common-utils/main.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common-utils/main.sh b/src/common-utils/main.sh index c8541cd..2a8cd28 100644 --- a/src/common-utils/main.sh +++ b/src/common-utils/main.sh @@ -393,7 +393,7 @@ fi possible_rc_files=( ".bashrc" ".profile" ".zshrc" ) for rc_file in "${possible_rc_files[@]}"; do if [ -f "/etc/skel/${rc_file}" ]; then - if [ ! -e "${user_rc_path}/${rc_file}" ] || [ -s "${user_rc_path}/${rc_file}" ]; then + if [ ! -e "${user_rc_path}/${rc_file}" ] || [ ! -s "${user_rc_path}/${rc_file}" ]; then cp "/etc/skel/${rc_file}" "${user_rc_path}/${rc_file}" chown ${USERNAME}:${group_name} "${user_rc_path}/${rc_file}" fi |