Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 May 2021 20:44:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 255670] Mk/Keywords/sample.ucl -- deleting any configuration files automatically is a bug
Message-ID:  <bug-255670-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255670

            Bug ID: 255670
           Summary: Mk/Keywords/sample.ucl -- deleting any configuration
                    files automatically is a bug
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://jetcafe.org/dave/pkgissue.html
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dave@jetcafe.org

I contend that the current behavior of pre-deinstall-lua is a bug. The fix =
is
changing this:

  if pkg.filecmp(sample_file, target_file) =3D=3D 0 then
    os.remove(target_file)
  else
    pkg.print_msg("You may need to manually remove " .. target_file .. " if=
 it
is no longer needed.")
  end

to this:

    pkg.print_msg("You may need to manually remove " .. target_file .. " if=
 it
is no longer needed.")

My rationale for this is here:

    https://www.jetcafe.org/dave/pkgissue.html

(I tried to use the correct component, but bugzilla will not let me do that=
 for
some reason.)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255670-7788>