summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-08-05 15:06:13 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-08-05 16:20:52 -0700
commit8ff3dc4d9862fc52d6aeefa7ea60a44ce1754b5d (patch)
tree6de771672d9dd856a8f03220edb7ecb56bd2a5f6 /debian
parent56310156f8b3f2f8bc6e26320a211aeec1115deb (diff)
downloademacs-8ff3dc4d9862fc52d6aeefa7ea60a44ce1754b5d.tar.gz
add and install emacs-snapshot.sh
Diffstat (limited to 'debian')
-rw-r--r--debian/emacs-snapshot.sh3
-rw-r--r--debian/install1
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/emacs-snapshot.sh b/debian/emacs-snapshot.sh
new file mode 100644
index 00000000000..12c67a4a44a
--- /dev/null
+++ b/debian/emacs-snapshot.sh
@@ -0,0 +1,3 @@
+if [ "`id -u`" -ne 0 ]; then
+ PATH=/opt/emacs-snapshot/bin:$PATH
+fi
diff --git a/debian/install b/debian/install
new file mode 100644
index 00000000000..7b3bcc8d012
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+debian/emacs-snapshot.sh /etc/profile.d