From 873601019a624c1b966a65a50fc2553f9a9697e6642e2d1f44ccd96c846e3d0f Mon Sep 17 00:00:00 2001 From: Thomas Oettli Date: Thu, 27 Aug 2026 23:44:08 +0200 Subject: [PATCH] always install config.example if available --- pbc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pbc b/pbc index 14e2ecd..26294bf 100755 --- a/pbc +++ b/pbc @@ -402,10 +402,8 @@ case "$action" in fi if [ -f "$SCRIPT_DIR/config.example" ]; then - if $update_pbc || [ ! -f "$ETC_DIR/config.example" ]; then - echo "Install example config to $ETC_DIR/config.example ..." - ! install -m 0640 "$SCRIPT_DIR/config.example" "$ETC_DIR/config.example" && echo "Error installing file!" >&2 && exit 4 - fi + echo "Install example config to $ETC_DIR/config.example ..." + ! install -m 0640 "$SCRIPT_DIR/config.example" "$ETC_DIR/config.example" && echo "Error installing file!" >&2 && exit 4 fi echo "Info: successfully installed pbc dependencies"