Download raw body.
pkg_add: stop advising to remove files on update
On Mon, 28 Apr 2025 20:30:27 +0200,
Klemens Nanni <kn@openbsd.org> wrote:
>
> 28.04.2025 13:56, Kirill A. Korinsky пишет:
> > Am I right that you also supress the message when an update drops some
> > directory and it need to be deleted manually?
>
> With pkg_add fixed and the diff below, it still tells me to remove the
> directory, which is no longer part of the package, which seems fair enough:
>
> $ make update
> ...
> ietf-cli-1.29p0->1.29p1: ok
> Read shared items: ok
> --- -ietf-cli-1.29p0 -------------------
> You should also run rm -rf /var/db/ietf-mirrors/*
>
> If not, folks can tweak it further in-tree.
>
Thanks, I like it and this messages quite missleading.
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/misc/ietf-cli/Makefile,v
> diff -u -p -r1.20 Makefile
> --- Makefile 29 Jan 2025 09:58:46 -0000 1.20
> +++ Makefile 28 Apr 2025 18:26:12 -0000
> @@ -3,7 +3,7 @@ COMMENT= command-line tools to work with
> GH_ACCOUNT= paulehoffman
> GH_PROJECT= ietf-cli
> GH_TAGNAME= 1.29
> -REVISION= 0
> +REVISION= 1
>
> CATEGORIES= misc net books
>
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/misc/ietf-cli/pkg/PLIST,v
> diff -u -p -r1.3 PLIST
> --- pkg/PLIST 10 Mar 2022 12:03:32 -0000 1.3
> +++ pkg/PLIST 28 Apr 2025 18:26:05 -0000
> @@ -7,4 +7,4 @@ share/examples/ietf/ietf.config
> @sample ${SYSCONFDIR}/ietf.config
> @mode 775
> @group wheel
> -@sample ${LOCALSTATEDIR}/db/ietf-mirrors/
> +@comment ${LOCALSTATEDIR}/db/ietf-mirrors/
>
--
wbr, Kirill
pkg_add: stop advising to remove files on update