diff options
author | Sergey Trofimov <sarg@sarg.org.ru> | 2024-05-24 08:50:22 +0200 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-06-24 08:51:43 -0400 |
commit | 7971da9e30fefc660dd433d640660da293a843a4 (patch) | |
tree | 23652df8d50d53c0cf558092185b4b20a8b07bc0 /gnu/packages/patches | |
parent | 7f194852a46edfe47537d11bc39fb1dd20e18b37 (diff) |
gnu: openresolv: Update to 3.13.2.
* gnu/packages/dns.scm (openresolv): Update to 3.13.2.
* gnu/packages/patches/openresolv-restartcmd-guix.patch: Adjust.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r-- | gnu/packages/patches/openresolv-restartcmd-guix.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/patches/openresolv-restartcmd-guix.patch b/gnu/packages/patches/openresolv-restartcmd-guix.patch index ad70ebd6f2..29a91fe595 100644 --- a/gnu/packages/patches/openresolv-restartcmd-guix.patch +++ b/gnu/packages/patches/openresolv-restartcmd-guix.patch @@ -1,4 +1,4 @@ -From 7f0ce36828ec1e130bee857b8236ca091e4d8a2c Mon Sep 17 00:00:00 2001 +From 439266671bbd790b3cb339c157c87db382e85c96 Mon Sep 17 00:00:00 2001 From: Brice Waegeneire <brice@waegenei.re> Date: Sat, 9 May 2020 15:52:06 +0200 Subject: [PATCH] Add RESTARTCMD for Guix System. @@ -12,13 +12,13 @@ to do it on Guix System by using shepherd. 1 file changed, 7 insertions(+) diff --git a/resolvconf.in b/resolvconf.in -index 3cad04d..5ef5294 100644 +index aa77ffe..921882e 100644 --- a/resolvconf.in +++ b/resolvconf.in -@@ -369,6 +369,13 @@ detect_init() - then - /etc/rc.d/$1 restart +@@ -375,6 +375,13 @@ detect_init() fi' + elif [ -d /etc/dinit.d ] && command -v dinitctl >/dev/null 2>&1; then + RESTARTCMD='dinitctl --quiet restart --ignore-unstarted $1' + elif [ -e /gnu/store ] && [ -e /run/current-system/profile ]; then + # Guix System + RESTARTCMD=' @@ -30,5 +30,5 @@ index 3cad04d..5ef5294 100644 for x in /etc/init.d/rc.d /etc/rc.d /etc/init.d; do [ -d $x ] || continue -- -2.26.0 +2.41.0 |