From 600a1133903eb2f7d3b7d954467dcee0b2d0277b Mon Sep 17 00:00:00 2001 From: David Bremner Date: Thu, 16 Sep 2021 08:51:33 -0300 Subject: proposed fix for #985459 In order to prevent packages installed by root within emacs from interfering with the installation process, set to package-user-dir to a directory that does not exist. Place that within /usr/lib/dh-elpa to minimize the chance that someone creates it. --- helper/install | 1 + 1 file changed, 1 insertion(+) diff --git a/helper/install b/helper/install index 1a2eb8a..e418c7e 100755 --- a/helper/install +++ b/helper/install @@ -51,6 +51,7 @@ echo install/${ELPA_DIR}: byte-compiling for ${FLAVOR} (cd ${elc_dir} set +e ${FLAVOR} --quick --batch -l package \ + --eval "(setq package-user-dir \"/usr/lib/dh-elpa/nonexistent\")" \ --eval "(add-to-list 'package-directory-list \"$src_dir\")" \ -f package-initialize -f batch-byte-compile *.el > Install.log 2>&1 if test $? -ne 0 -- cgit v1.2.3