1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: papirus-icon-theme: Avoid creating executable icons.

* gnu/packages/gnome-xyz.scm (papirus-icon-theme)[#:phases]:
Add ‘remove-executable-bit’.

Change-Id: Ic4d4f41b348d728913a90b0ef9cdf50f9901070a
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Timo Wilken
2025-04-02 13:16:22 +02:00
committed by Liliana Marie Prikler
parent 039a89620b
commit 11583a0a4d

View File

@@ -238,7 +238,13 @@ simple and consistent.")
(when (eq? 'regular (stat:type (stat target)))
(delete-file file)
(link target file))))
(find-files "." symlink?))))))))
(find-files "." symlink?)))))
(add-before 'install 'remove-executable-bit
(lambda _
(let ((file? (lambda (_ stat)
(eq? 'regular (stat:type stat)))))
(for-each (lambda (file) (chmod file #o644))
(find-files "." file?))))))))
(native-inputs
(list `(,gtk+ "bin")))
(home-page "https://git.io/papirus-icon-theme")