summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2024-09-08 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2024-09-08 02:00:00 +0200
commit12bbc9ebff72c5fa76970d8461e6fc1c6b8f74a6 (patch)
tree448f1d4aee121367664e5237449229b5ccd6824f /gnu/packages
parentbe50b25b7b093f3879623f2252ebfae5db7fc5cd (diff)
gnu: durden: Migrate to /run/privileged/bin.
* gnu/packages/patches/durden-shadow-arcan.patch: Update privileged program directory. Change-Id: Id1d99d8a48582d81ebd0bfc7b152c16bf262a463
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/patches/durden-shadow-arcan.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/patches/durden-shadow-arcan.patch b/gnu/packages/patches/durden-shadow-arcan.patch
index b666a6d7e3..784d4088ff 100644
--- a/gnu/packages/patches/durden-shadow-arcan.patch
+++ b/gnu/packages/patches/durden-shadow-arcan.patch
@@ -1,7 +1,7 @@
From 157524b7cb76c5044a27f4a9e373ee04a9da3c71 Mon Sep 17 00:00:00 2001
From: Ahmad Draidi <a.r.draidi@redscript.org>
Date: Tue, 9 Apr 2024 18:26:52 +0400
-Subject: [PATCH] Use arcan from setuid-programs if available
+Subject: [PATCH] Use arcan from privileged-programs if available
---
distr/durden | 10 ++++++++--
@@ -14,8 +14,8 @@ index ab431ce..8672556 100755
@@ -1,5 +1,11 @@
#!/bin/sh
-+if [ -n "$(command -v /run/setuid-programs/arcan 2>/dev/null)" ]; then
-+ ARCAN_CMD="/run/setuid-programs/arcan"
++if [ -n "$(command -v /run/privileged/bin/arcan 2>/dev/null)" ]; then
++ ARCAN_CMD="/run/privileged/bin/arcan"
+else
+ ARCAN_CMD="@ARCAN_STORE_PATH@"
+fi