aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2017-12-07 00:48:22 -0800
committerGravatar Tom Willemse2017-12-07 00:48:22 -0800
commit1d64aaa76298a72988b360d24ef517a6b546a06a (patch)
tree7d51e72fa95170f01746f9e81ea4fa60f64a0c6c
parent1702b6e9492d08ffbb23b32e41aefdec874c3ce2 (diff)
downloademacs-config-1d64aaa76298a72988b360d24ef517a6b546a06a.tar.gz
emacs-config-1d64aaa76298a72988b360d24ef517a6b546a06a.zip
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.
-rw-r--r--oni-package.el11
1 files 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 <tom@ryuslash.org>
;; 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
@@ -40,20 +40,15 @@
(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/"))
;;;###autoload
(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))