• Bug#1104178: elpa-doom-themes: upgrade fails: cannot overwrite non-dire

    From David Bremner@21:1/5 to Xiyue Deng on Sat May 17 10:40:01 2025
    XPost: linux.debian.maint.emacsen

    Xiyue Deng <manphiz@gmail.com> writes:


    Still, I think it's better to have this fixed so that it works in all
    cases. I have tested a fix in the "bug#1104178" branch to be working.
    The diff can be seen here[1]. Please review.

    Is it sufficient to check the top level? what if there is deeper nested directories? Apologies if I missed some context.

    I wondered about two slightly more aggressive solutions.

    1) find "${elc_dir}" -type l -delete

    2) rm -rf "${elc_dir}"

    Am I wrong in thinking ${elc_dir} only contains artifacts generated by maintainer scripts? In that case it should be ok to just blow it away,
    right?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)