From 1d64aaa76298a72988b360d24ef517a6b546a06a Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 7 Dec 2017 00:48:22 -0800 Subject: Download packages through https, upload through ssh By downloading through https there is no access needed through SSH to download the packages and so bootstrapping a new installation becomes easier. --- oni-package.el | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/oni-package.el b/oni-package.el index 48000ed..2e24e2a 100644 --- a/oni-package.el +++ b/oni-package.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20171205233613 +;; Version: 20171207004637 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -39,11 +39,6 @@ (require 'package) (require 'package-x)) -;;;###autoload -(defconst oni-package-archive-upload-base - "/ssh:slash@ryuslash.org:usr/share/emacs/elpa/" - "Where my packages are stored on my server.") - ;;;###autoload (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) @@ -51,9 +46,9 @@ (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/")) ;;;###autoload -(add-to-list 'package-archives `("oni" . ,oni-package-archive-upload-base)) +(add-to-list 'package-archives `("oni" . "https://ryuslash.org/elpa/")) -(setq package-archive-upload-base oni-package-archive-upload-base) +(setq package-archive-upload-base "/ssh:slash@ryuslash.org:usr/share/emacs/elpa/") ;;;###autoload (with-eval-after-load 'package (require 'oni-package)) ;;;###autoload (with-eval-after-load 'package-x (require 'oni-package)) -- cgit v1.2.3-54-g00ecf