From bea24fac5b49a864d5fc72c4176c13add34f6f19 Mon Sep 17 00:00:00 2001 From: pvincent Date: Thu, 20 Aug 2026 16:20:47 +0400 Subject: [PATCH] diff /etc/skel/.bashrc --- lib/initiate.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/initiate.bash b/lib/initiate.bash index 64724f0..2776049 100644 --- a/lib/initiate.bash +++ b/lib/initiate.bash @@ -33,8 +33,8 @@ function fix_users_bashrc { build_associative_user_homes for user in "${!USER_HOMES[@]}"; do local user_bashrc="${USER_HOMES[$user]}/.bashrc" - [[ ! -f "$user_bashrc" ]] && next - cmp -s "$user_bashrc" /etc/skel/.bashrc && next + [[ ! -f "$user_bashrc" ]] && continue + cmp -s "$user_bashrc" /etc/skel/.bashrc && continue local first_change first_change=$(diff /etc/skel/.bashrc "$user_bashrc" | head -n1)