Skip to content

Fix Arch lint job failure from unterminated conditional in install-arch.sh - #86

Closed
Brainitech with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-arch-linux-dependency-lint-check
Closed

Brainitech with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-arch-linux-dependency-lint-check

Conversation

Copilot AI commented Sep 18, 2026

Copy link
Copy Markdown

The Arch Linux — Dependency & Lint Check workflow was failing on bash -n dots-extra/install-arch.sh due to an unmatched if block, reported as unexpected EOF. This PR restores valid shell control flow in the installer’s config-copy section.

  • Root cause

    • dots-extra/install-arch.sh had a partial hyprlock.conf copy branch missing its closing fi, leaving the script syntactically invalid.
  • Change made

    • Reintroduced the full if / else / fi block for copying hyprlock.conf into ~/.config/hypr/.
    • Updated the nearby comment to accurately state both hypridle and hyprlock configs are handled.
  • Script section corrected

    if cp -n "$REPO_DIR/src/config/hyprlock.conf" "$HOME/.config/hypr/" 2>/dev/null; then
        log_ok "hyprlock.conf → $HOME/.config/hypr/"
    else
        log_info "hyprlock.conf already exists — not overwritten"
    fi

Co-authored-by: Brainitech <116993889+Brainitech@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job Arch Linux - Dependency & Lint Check Fix Arch lint job failure from unterminated conditional in install-arch.sh Sep 18, 2026
Copilot AI requested a review from Brainitech September 18, 2026 03:52
@Brainitech
Brainitech marked this pull request as ready for review September 18, 2026 03:53

@Brainitech Brainitech left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge to dev Branch

Copilot AI requested a review from Brainitech September 18, 2026 03:59
@Brainitech Brainitech closed this Sep 18, 2026
@Brainitech
Brainitech deleted the copilot/fix-arch-linux-dependency-lint-check branch September 19, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants