From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: Re: [PATCH 3/3] cups: Reload dbus to load/unload policy Date: Thu, 22 Jul 2021 21:18:47 +0200 Message-ID: In-Reply-To: <20210721144158.25747-3-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8308804443316248870==" List-Id: --===============8308804443316248870== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Michael, Doesn't this patch also require the pak_ver to be incremented as was done for= the avahi addon? Regards, Adolf. 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(+) > > 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 --===============8308804443316248870==--