public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
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	[thread overview]
Message-ID: <d1a739a5-e6d4-07f4-4103-666dc9004e15@ipfire.org> (raw)
In-Reply-To: <20210721144158.25747-3-michael.tremer@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 1127 bytes --]

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 <michael.tremer(a)ipfire.org>
> ---
>   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

  reply	other threads:[~2021-07-22 19:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-21 14:41 [PATCH 1/3] dbus: Add reload to initscript Michael Tremer
2021-07-21 14:41 ` [PATCH 2/3] avahi: Reload dbus to load/unload policy Michael Tremer
2021-07-21 14:41 ` [PATCH 3/3] cups: " Michael Tremer
2021-07-22 19:18   ` Adolf Belka [this message]
2021-07-28 11:09     ` Michael Tremer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d1a739a5-e6d4-07f4-4103-666dc9004e15@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox