Kaynağa Gözat

No longer need to explicitly use emacs version

Bob Mottram 7 yıl önce
ebeveyn
işleme
ea091488b6
2 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 3
    3
      src/freedombone-app-emacs
  2. 1
    1
      src/freedombone-image-customise

+ 3
- 3
src/freedombone-app-emacs Dosyayı Görüntüle

@@ -133,7 +133,7 @@ function restore_remote_emacs {
133 133
 }
134 134
 
135 135
 function remove_emacs {
136
-    apt-get -yq remove --purge emacs24
136
+    apt-get -yq remove --purge emacs
137 137
     update-alternatives --set editor /usr/bin/nano
138 138
     sed -i '/install_emacs/d' $COMPLETION_FILE
139 139
 
@@ -156,8 +156,8 @@ function remove_emacs {
156 156
 }
157 157
 
158 158
 function install_emacs {
159
-    apt-get -yq install emacs24
160
-    update-alternatives --set editor /usr/bin/emacs24
159
+    apt-get -yq install emacs
160
+    update-alternatives --set editor /usr/bin/emacs
161 161
 
162 162
     # A minimal emacs configuration
163 163
     #echo -n "(add-to-list 'load-path " > /home/$MY_USERNAME/.emacs

+ 1
- 1
src/freedombone-image-customise Dosyayı Görüntüle

@@ -766,7 +766,7 @@ function configure_user_interface {
766 766
     chroot "$rootdir" apt-get -yq install libtheora-bin libvorbis-dev v4l-utils
767 767
 
768 768
     # a sane editor
769
-    chroot "$rootdir" apt-get -yq install emacs24
769
+    chroot "$rootdir" apt-get -yq install emacs
770 770
 
771 771
     # for wifi monitoring
772 772
     chroot "$rootdir" apt-get -yq install horst