manjaro-xfce-settings: Fix minimal background hook helper name #8

Closed
McKenna_Fan wants to merge 1 commit from McKenna_Fan/PKGBUILDs:fix-xfce-minimal-hook into main
First-time contributor

manjaro-xfce-minimal-settings installs the background symlink helper as:

/usr/bin/mxs-bgd-sym

but its generated pacman hook currently points to:

/usr/bin/mxms-bgd-sym

This causes the post-transaction hook to fail with:

call to execv failed (No such file or directory)

The regular manjaro-xfce-settings package already uses the correct helper name.

This patch corrects the %BIN% substitution for the minimal package and bumps pkgrel for rebuild.

Verified locally with manjaro-xfce-minimal-settings 20260221-5:

  • /usr/bin/mxms-bgd-sym does not exist
  • /usr/bin/mxs-bgd-sym is package-owned
  • running /usr/bin/mxs-bgd-sym succeeds with exit 0
  • pacman -Qkk manjaro-xfce-minimal-settings reports 0 altered files

The mismatch appears to have been introduced by commit de6e8a9 (“fix target script name”), which renamed the installed helper but left the minimal-package hook substitution unchanged.

AI assistance: ChatGPT was used during investigation; I independently verified the bug and tested the fix locally.

`manjaro-xfce-minimal-settings` installs the background symlink helper as: `/usr/bin/mxs-bgd-sym` but its generated pacman hook currently points to: `/usr/bin/mxms-bgd-sym` This causes the post-transaction hook to fail with: `call to execv failed (No such file or directory)` The regular `manjaro-xfce-settings` package already uses the correct helper name. This patch corrects the `%BIN%` substitution for the minimal package and bumps `pkgrel` for rebuild. Verified locally with `manjaro-xfce-minimal-settings 20260221-5`: * `/usr/bin/mxms-bgd-sym` does not exist * `/usr/bin/mxs-bgd-sym` is package-owned * running `/usr/bin/mxs-bgd-sym` succeeds with exit 0 * `pacman -Qkk manjaro-xfce-minimal-settings` reports 0 altered files The mismatch appears to have been introduced by commit `de6e8a9` (“fix target script name”), which renamed the installed helper but left the minimal-package hook substitution unchanged. **AI assistance**: ChatGPT was used during investigation; I independently verified the bug and tested the fix locally.
manjaro-xfce-minimal-settings installs the helper as /usr/bin/mxs-bgd-sym, but the generated pacman hook still referenced /usr/bin/mxms-bgd-sym. Correct the substitution so the background symlink post-transaction hook can execute successfully.
McKenna_Fan changed title from WIP: manjaro-xfce-settings: Fix minimal background hook helper name to manjaro-xfce-settings: Fix minimal background hook helper name 2026-09-15 11:11:26 +00:00

I've reverted the change made in de6e8a99. Thank for your bringing that to our attention.

In the future, please do not bump the pkgrel in the PR.

I've reverted the change made in [de6e8a99](https://gitlab.manjaro.org/packages/extra/manjaro-xfce-settings/-/commit/de6e8a99e811c8f15f395ad3b0fce8ee5fde1677). Thank for your bringing that to our attention. In the future, please do not bump the pkgrel in the PR.
yochananmarqos closed this pull request 2026-09-15 15:59:00 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
packages/PKGBUILDs!8
No description provided.