From 0239cd6bf2f587ec01ea74c0aad9d59a1e673bb5 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 4 Oct 2014 10:03:16 +0100 Subject: [PATCH] Also use default emacs configuration for root user --- install-freedombone.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install-freedombone.sh b/install-freedombone.sh index 706e08d3..85f8e7b7 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -1188,6 +1188,7 @@ function install_editor { echo '' >> /home/$MY_USERNAME/.emacs echo "(require 'epa)" >> /home/$MY_USERNAME/.emacs echo '(epa-file-enable)' >> /home/$MY_USERNAME/.emacs + cp /home/$MY_USERNAME/.emacs /root/.emacs chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.emacs echo 'install_editor' >> $COMPLETION_FILE