diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2023-01-03 11:14:13 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2023-01-03 11:14:13 -0700 |
commit | a965ed3b6664b075a034b2997487893e39dada80 (patch) | |
tree | 802d1e6ebda9a624277a9e41f3f52abdbcb5d2f1 /debian | |
parent | d6040c47e4e5769807d236f30ea995abfa4d4505 (diff) | |
download | emacs-a965ed3b6664b075a034b2997487893e39dada80.tar.gz |
d/emacs-snapshot.sh: Add comment regarding update-alternatives
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/emacs-snapshot.sh | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 44e62c15f43..981a91c3d2d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ emacs-snapshot (29.1~git20221203.2) UNRELEASED; urgency=medium * d/merge-snapshot: Find merge base with origin/emacs-29, not origin/master. + * d/emacs-snapshot.sh: Add comment regarding update-alternatives. -- Sean Whitton <spwhitton@spwhitton.name> Tue, 03 Jan 2023 11:10:46 -0700 diff --git a/debian/emacs-snapshot.sh b/debian/emacs-snapshot.sh index 12c67a4a44a..7893d16aa12 100644 --- a/debian/emacs-snapshot.sh +++ b/debian/emacs-snapshot.sh @@ -1,3 +1,8 @@ +# We install this script rather than using update-alternatives because +# whatever is providing /usr/bin/emacs is used to bytecompile files +# for Debian's packaged builds of Emacs, and there could be +# incompatibilities if emacs-snapshot builds were invoked to do that. + if [ "`id -u`" -ne 0 ]; then PATH=/opt/emacs-snapshot/bin:$PATH fi |