Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] hooks/fix-permissions: add completion directories
@ 2021-09-14 20:25 paper42
  2021-09-15 18:31 ` [PR PATCH] [Merged]: " paper42
  0 siblings, 1 reply; 2+ messages in thread
From: paper42 @ 2021-09-14 20:25 UTC (permalink / raw)
  To: ml

[-- 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
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: hooks/fix-permissions: add completion directories
  2021-09-14 20:25 [PR PATCH] hooks/fix-permissions: add completion directories paper42
@ 2021-09-15 18:31 ` paper42
  0 siblings, 0 replies; 2+ messages in thread
From: paper42 @ 2021-09-15 18:31 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

hooks/fix-permissions: add completion directories
https://github.com/void-linux/void-packages/pull/32967

Description:
Completions don't have to be executable and they almost never are. On my system only colord installs an executable bash completion file.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-15 18:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-14 20:25 [PR PATCH] hooks/fix-permissions: add completion directories paper42
2021-09-15 18:31 ` [PR PATCH] [Merged]: " paper42

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).