Nicholas D Steeves <s...@debian.org> writes: > CCing #989905 (base-files) > >> Setting user-package-dir to a nonexistent directory also seems to >> work. Nick, can you try the dh-elpa version at >> https://salsa.debian.org/emacsen-team/dh-elpa ? Or just apply >> >> https://salsa.debian.org/emacsen-team/dh-elpa/-/commit/600a1133903eb2f7d3b7d954467dcee0b2d0277b >> >> to /usr/lib/dh-elpa/helper/install >> > > That's a cool low-friction solution! :-) P.S. How likely is a future > where Emacs will return non-zero exit status if package-user-dir is not > found? I'm guessing unlikely?
Indeed that issue is why I mention the other possibilities. At least as far as stable releases go, I think we'll have enough notice to change to a different strategy if emacs gets fussier. Luckily with the newer dh-elpa setup we don't need to do any elpa-* package rebuilds to change those scripts.