On Wed, May 01, 2024 at 07:10:29PM +0200, Lorenzo wrote: > > Thanks. Does the attached patch help? > > yes, it seems it works
Good. As small refinement to avoid emitting inappropriate dangling symlink warnings. Mark
>From 07d2dd72221e961637ea7a9cd2143b6c8a411373 Mon Sep 17 00:00:00 2001 From: Mark Hindley <m...@hindley.org.uk> Date: Wed, 1 May 2024 18:33:39 +0100 Subject: [PATCH] Don't emit dangling symlink warning for non-executable scripts. --- debian/openrc.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/openrc.postinst b/debian/openrc.postinst index 3b62f026..e53be30c 100644 --- a/debian/openrc.postinst +++ b/debian/openrc.postinst @@ -37,8 +37,8 @@ if [ "${1}" = "configure" ] ; then echo "*** WARNING: skipping non-executable $rclink" else echo "*** WARNING: dangling link $rclink" + echo $dsvcs|grep -qw ${svc} || dsvcs="$dsvcs ${svc}" fi - echo $dsvcs|grep -qw ${svc} || dsvcs="$dsvcs ${svc}" fi done done -- 2.39.2