Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Package x is unavailable issue from snapshot #111

Merged
merged 2 commits into from
Jan 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lisp/core/install.el
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
installed s skipped)))

(eask-start
(eask-defvc< 27 (eask-pkg-init)) ; XXX: remove this after we drop 26.x
;; XXX: You must refresh content before you install the package,
;; see https://github.com/ericdallo/jet.el/issues/1
(eask-pkg-init)
(if-let ((names (eask-args)))
;; If package [name..] are specified, we try to install it
(eask--install-packages names)
Expand Down
6 changes: 4 additions & 2 deletions lisp/core/reinstall.el
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@
(if-let* ((name (intern (eask-guess-package-name)))
((package-installed-p name)))
(progn
(eask-package-reinstall name)
(eask-call "core/uninstall")
(eask-msg "")
(eask-info "(Reinstalled %s)" name))
(eask-call "core/install")
(eask-msg "")
(eask-info "(Package `%s' reinstalled.)" name))
(eask-msg "")
(eask-info "✗ (No packages have been reintalled)")
(eask-help "core/reinstall"))))
Expand Down
2 changes: 1 addition & 1 deletion lisp/core/uninstall.el
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
(progn
(eask-package-delete name)
(eask-msg "")
(eask-info "(Deleted %s)" name))
(eask-info "(Package `%s' deleted.)" name))
(eask-info "✗ (No packages have been unintalled)")
(eask-help "core/uninstall"))))

Expand Down