Update emacs installation script

This commit is contained in:
Tar 2025-05-24 06:30:40 +02:00
parent 2ade8fc386
commit 5b5821bb25
1 changed files with 34 additions and 32 deletions

View File

@ -24,6 +24,7 @@
LOG_DIR="/home/${SUDO_USER}" LOG_DIR="/home/${SUDO_USER}"
LOG="${LOG_DIR}/log.txt" LOG="${LOG_DIR}/log.txt"
PREFIX="/home/${SUDO_USER}/.local" PREFIX="/home/${SUDO_USER}/.local"
BRANCH="emacs-29"
############################################################# #############################################################
# HELPER FUNCTIONS # HELPER FUNCTIONS
@ -220,7 +221,7 @@ clone_and_build_emacs() {
warn "Press enter to proceed with $step_name"; read warn "Press enter to proceed with $step_name"; read
info "$step_name" info "$step_name"
git clone https://git.savannah.gnu.org/git/emacs.git -b emacs-29 git clone https://git.savannah.gnu.org/git/emacs.git -b $BRANCH
cd emacs cd emacs
./autogen.sh ./autogen.sh
@ -412,5 +413,6 @@ clone_emacs_config
info "Reboot (!) before starting Emacs" info "Reboot (!) before starting Emacs"
info "Bye!" info "Bye!"
info "PS. Log is here: ${LOG}" info "PS. Log is here: ${LOG}"
warn "M-x nerd-icons-install-fonts"
exit 0 exit 0