summaryrefslogtreecommitdiff
path: root/debian/emacs-snapshot.sh
blob: 7893d16aa12289809581995592ed78f840033554 (plain)
1
2
3
4
5
6
7
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