diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2024-05-15 08:16:50 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2024-05-15 08:16:50 +0200 |
| commit | e9ce1b5402072017b8243b878e200f053da210d2 (patch) | |
| tree | b38f4c5a6f20b5905e775452285681b4e387f33f /.local | |
| parent | df9943537d082ecfbca5528be0414167830bc959 (diff) | |
| download | dotfiles-e9ce1b5402072017b8243b878e200f053da210d2.tar.xz | |
Fix ELPA update script
No idea how I managed to commit it in such a non-working state.
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/emacs-update-packages | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.local/bin/emacs-update-packages b/.local/bin/emacs-update-packages index 8ad22d2..28d231d 100755 --- a/.local/bin/emacs-update-packages +++ b/.local/bin/emacs-update-packages @@ -14,6 +14,7 @@ backup-elpa () # Move directory out of Emacs's sight. We could remove it # altogether since we have the archived snapshot; keep it # around for the very minor convenience gain. + rm -rf elpa.bkp mv -T elpa elpa.bkp ) } @@ -27,12 +28,14 @@ gen-dotemacs () --eval '(pp `(use-package package :custom (package-archives '\''(,@package-archives)) - (package-selected-packages '\''(,@package-selected-packages)))) - '\''external-debugging-output' \ + (package-selected-packages '\''(,@package-selected-packages))) + '\''external-debugging-output)' \ --funcall kill-emacs } +cd ~ + gen-dotemacs > .emacs.upgrade backup-elpa |
