Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] colord: add run script
@ 2020-12-01 21:45 gch1p
  2020-12-12  7:04 ` ericonr
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gch1p @ 2020-12-01 21:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/gch1p/void-packages colord
https://github.com/void-linux/void-packages/pull/26875

colord: add run script


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-colord-26875.patch --]
[-- Type: text/x-diff, Size: 990 bytes --]

From 5e83b4d661b7618808706faeb836c43804952864 Mon Sep 17 00:00:00 2001
From: Evgeny Zinoviev <me@ch1p.io>
Date: Wed, 2 Dec 2020 00:44:52 +0300
Subject: [PATCH] colord: add run script

---
 srcpkgs/colord/files/colord/run | 9 +++++++++
 srcpkgs/colord/template         | 4 ++++
 2 files changed, 13 insertions(+)
 create mode 100755 srcpkgs/colord/files/colord/run

diff --git a/srcpkgs/colord/files/colord/run b/srcpkgs/colord/files/colord/run
new file mode 100755
index 00000000000..44dc0a8426e
--- /dev/null
+++ b/srcpkgs/colord/files/colord/run
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -e
+
+[ -d /var/lib/colord ] || {
+   	mkdir -p /var/lib/colord
+	chown -R colord:colord /var/lib/colord
+}
+
+exec chpst -u colord /usr/libexec/colord 2>&1
diff --git a/srcpkgs/colord/template b/srcpkgs/colord/template
index 6e77160111a..25634b7808c 100644
--- a/srcpkgs/colord/template
+++ b/srcpkgs/colord/template
@@ -65,3 +65,7 @@ colord-devel_package() {
 		fi
 	}
 }
+
+post_install() {
+	vsv colord
+}

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

end of thread, other threads:[~2020-12-30  7:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-01 21:45 [PR PATCH] colord: add run script gch1p
2020-12-12  7:04 ` ericonr
2020-12-17 16:38 ` [PR PATCH] [Updated] " gch1p
2020-12-17 16:38 ` gch1p
2020-12-17 16:43 ` Duncaen
2020-12-17 17:56 ` [PR PATCH] [Updated] " gch1p
2020-12-17 17:58 ` gch1p
2020-12-30  7:01 ` [PR PATCH] [Closed]: " the-maldridge

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