From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH 3/3] cups: Reload dbus to load/unload policy Date: Wed, 28 Jul 2021 12:09:28 +0100 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7180872434037841050==" List-Id: --===============7180872434037841050== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Yes it does, I forgot :( Thank you for letting me know. Since this is merged, I will send another patch. -Michael > On 22 Jul 2021, at 20:18, Adolf Belka wrote: >=20 > Hi Michael, >=20 > Doesn't this patch also require the pak_ver to be incremented as was done f= or the avahi addon? >=20 > Regards, >=20 > Adolf. >=20 > On 21/07/2021 16:41, Michael Tremer wrote: >> Signed-off-by: Michael Tremer >> --- >> src/paks/cups/install.sh | 1 + >> src/paks/cups/uninstall.sh | 1 + >> 2 files changed, 2 insertions(+) >>=20 >> diff --git a/src/paks/cups/install.sh b/src/paks/cups/install.sh >> index 38715f9e8..b3f0f1368 100644 >> --- a/src/paks/cups/install.sh >> +++ b/src/paks/cups/install.sh >> @@ -23,6 +23,7 @@ >> # >> . /opt/pakfire/lib/functions.sh >> extract_files >> +/etc/init.d/messagebus reload >> start_service --delay 300 --background ${NAME} >> ln -svf ../init.d/cups /etc/rc.d/rc0.d/K00cups >> ln -svf ../init.d/cups /etc/rc.d/rc3.d/S25cups >> diff --git a/src/paks/cups/uninstall.sh b/src/paks/cups/uninstall.sh >> index 744c2062d..01b13de76 100644 >> --- a/src/paks/cups/uninstall.sh >> +++ b/src/paks/cups/uninstall.sh >> @@ -25,3 +25,4 @@ >> stop_service ${NAME} >> remove_files >> rm -rf /etc/rc.d/rc*.d/*cups >> +/etc/init.d/messagebus reload --===============7180872434037841050==--