Github messages for voidlinux
 help / color / mirror / Atom feed
From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] hooks/fix-permissions: add completion directories
Date: Tue, 14 Sep 2021 22:25:57 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32967@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

There is a new pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages permission-hook-completions
https://github.com/void-linux/void-packages/pull/32967

hooks/fix-permissions: add completion directories
Completions don't have to be executable and they almost never are. On my system only colord installs an executable bash completion file.

A patch file from https://github.com/void-linux/void-packages/pull/32967.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-permission-hook-completions-32967.patch --]
[-- Type: text/x-diff, Size: 951 bytes --]

From df208c5b9253563f376984799660b444977a8276 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Tue, 14 Sep 2021 22:24:00 +0200
Subject: [PATCH] hooks/fix-permissions: add completion directories

---
 common/hooks/post-install/14-fix-permissions.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/common/hooks/post-install/14-fix-permissions.sh b/common/hooks/post-install/14-fix-permissions.sh
index 9041c15a9e5c..920730874468 100644
--- a/common/hooks/post-install/14-fix-permissions.sh
+++ b/common/hooks/post-install/14-fix-permissions.sh
@@ -29,5 +29,8 @@ hook() {
 		change_file_perms "/usr/share/metainfo" 133 644
 		change_file_perms "/usr/share/appdata" 133 644
 		change_file_perms "/usr/include" 133 644
+		change_file_perms "/usr/share/bash-completion/completions" 133 644
+		change_file_perms "/usr/share/fish/vendor_completions.d" 133 644
+		change_file_perms "/usr/share/zsh/site-functions" 133 644
 	fi
 }

             reply	other threads:[~2021-09-14 20:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-14 20:25 paper42 [this message]
2021-09-15 18:31 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32967@inbox.vuxu.org \
    --to=paper42@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).