On Mon, Mar 25, 2024 at 4:59 PM Vít Ondruch <vondr...@redhat.com> wrote:

>
> Previously, I had issues that migration from DNF4 to DNF5 left a lot of data 
> in /var/cache. How is this going to be addressed? I don't think it is fair to 
> leave those behind and waste disk space for regular users.
>

Are you suggesting the dnf(4) should have an additional
stanza in the %postun scriptlet something of the form
(following not tested, validated, or run, just prototype):

if [ -d /var/cache/dnf && "$1" -eq "0" ] ; then
  rm -r /var/cache/dnf || :
fi

?
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to