diff /etc/skel/.bashrc

This commit is contained in:
pvincent
2026-08-20 16:20:47 +04:00
parent 7e770c7f1e
commit bea24fac5b
+2 -2
View File
@@ -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)