From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] Core Update 165: Rename squid-accounting add-on to proxy-accounting Date: Tue, 01 Mar 2022 10:39:03 +0000 Message-ID: <3AA7148E-3BE2-43EC-8929-66B3D3687CA3@ipfire.org> In-Reply-To: <451ff4eb-49ae-79ef-aaf0-71e086b7c9b9@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3189659955836247931==" List-Id: --===============3189659955836247931== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, > On 28 Feb 2022, at 20:32, Peter M=C3=BCller wr= ote: >=20 > https://lists.ipfire.org/pipermail/development/2022-February/012482.html >=20 > Cc: Michael Tremer > Cc: Adolf Belka > Signed-off-by: Peter M=C3=BCller > --- > config/rootfiles/core/165/update.sh | 12 ++++++++++++ > 1 file changed, 12 insertions(+) >=20 > diff --git a/config/rootfiles/core/165/update.sh b/config/rootfiles/core/16= 5/update.sh > index fe4449fff..c0939bce6 100644 > --- a/config/rootfiles/core/165/update.sh > +++ b/config/rootfiles/core/165/update.sh > @@ -97,6 +97,18 @@ rm -rvf \ > /var/ipfire/dhcpc/dhcpcd-hooks/10-mtu \ > /var/ipfire/firewall/p2protocols >=20 > +# Rename squid-accounting add-on to proxy-accounting, if installed > +# (see: https://lists.ipfire.org/pipermail/development/2022-February/01248= 2.html) > +if [ -e "/opt/pakfire/db/installed/meta-squid-accounting" ] && [ -e "/opt/= pakfire/db/meta/meta-squid-accounting" ]; then > + stop_service squid-accounting Is this even a service? -Michael > + > + mv -v /opt/pakfire/db/installed/meta-squid-accounting /opt/pakfire/db/ins= talled/meta-proxy-accounting > + mv -v /opt/pakfire/db/meta/meta-squid-accounting /opt/pakfire/db/meta/met= a-proxy-accounting > + mv -v /opt/pakfire/db/rootfiles/squid-accounting /opt/pakfire/db/rootfile= s/proxy-accounting > + > + start_service proxy-accounting > +fi > + > # Stop services >=20 > # Extract files > --=20 > 2.34.1 --===============3189659955836247931==--