Commit graph

47 commits

Author SHA1 Message Date
Case Duckworth
079564cf17
[Fix #1266] Improve Emacs version detection logic in the installer script
The fix is naive -- it'll work fine (printing a warning) if there is no emacs installed, but if emacs *is* installed and just formats the `--version` line differently than the pipeline is expecting, it'll also print the warning -- which isn't *ideal*, but should work in most cases.
2020-09-16 09:32:35 +03:00
Bozhidar Batsov
e278f32a0a Tweak a couple of messages 2020-09-15 22:02:16 +03:00
Bozhidar Batsov
025c377e54 Improve some installer messages 2020-09-15 08:14:25 +03:00
apiraino
2fc6ba95f3 Fix typo 2019-06-18 19:34:38 +03:00
Andrei Beliankou
454fade724 Move prelude-modules.el under personal directory
Prelude modules are required by the definition file `prelude-modules.el`.
This file should be part of personal configuration.

Therefore:

- implemented loading of `personal/prelude-modules.el` in favour of
  loading `prelude-modules.el`;
- added a check for presence of both old and new files;
- adjusted documentation;
- adjusted the installer.

Closes #1206.
2018-11-21 10:10:06 +01:00
John Eismeier
2fc40319e5 Propose small fix on typo 2018-07-31 19:44:53 +03:00
max thomas
7667ee4ba0 Fix message about location of prelude-modules.el after install 2017-05-11 08:45:28 +04:00
Karl Erik Holter
086c389b1d Rename .emacs if it exists in the installer(#1037)
If user has a $HOME/.emacs file, the prelude installer script
will install just fine, but when starting emacs, nothing will
take effect because emacs doesn't load .emacs.d/init.el if .emacs
exists. Because this is confusing for new users, the installer should
default to renaming this file to make emacs actually load prelude.
2016-10-02 08:19:01 +03:00
Bozhidar Batsov
157aff9e71 Merge pull request #773 from bronislav/patch-2
Don't create already existed directories
2015-01-10 23:05:21 +02:00
Anton Ilin
fd75032b24 Don't create already existed directories
This directories (`personal`, `vendor`, `themes`) already exist in the repository and thus don't need to be created during installation process.
2015-01-10 23:03:44 +02:00
Anton Ilin
52131e032c Fix condition for "if prelude alredy installed"
We need check for file existence not for directory
2015-01-10 22:53:45 +02:00
Keyvan Hedayati
bd97b03872 [Close #547] Removed ack-and-a-half from prelude 2014-12-22 10:29:49 +03:30
Sergey Avseyev
bb34a4b908 Fix redirection of IO streams 2014-07-08 09:13:06 +03:00
Ben Prew
ce97547acf Fix unset PRELUDE_INTO bug.
A -n test behaves differently with and without quotes.  This fixes
https://github.com/bbatsov/prelude/issues/577
2014-07-04 22:41:38 -07:00
Rowan Thorpe
d33983ce81 Various install-script fixes
* Colour handling in zsh (& don't use "colors" as funcname)

* Quote-protect -z test

* Clean up verbose var-printout

* git clone requires empty dir - tweak script to make it work with
  an existing dir

* Unquote asterisks for shell-expansion when byte-compiling
2014-06-07 23:58:19 +03:00
Gabriel J. Pérez Irizarry
596d499e32 Checks for ack-grep, for Debian systems. 2014-05-09 12:31:35 -04:00
dongweiming
2a2e52882e Fixed: print command not found 2013-10-12 13:06:49 +08:00
Bozhidar Batsov
5b6bef1d67 Don't create the snippets dir 2013-06-29 15:49:03 +03:00
Bozhidar Batsov
874ec73947 Fix #284 - use mkdir -p to create required dirs 2013-04-09 19:04:35 +03:00
Bozhidar Batsov
0d22c81791 Fix #294 - quote env var PRELUDE_INSTALL_DIR 2013-04-09 18:39:10 +03:00
Bozhidar Batsov
29dc436b64 Make the list of modules loaded by Prelude configurable.
Modules loaded by Prelude can now easily be adjusted via
the file `prelude-modules.el` in Prelude's installation folder.
To disable a module simply comment it out; conversely uncomment
a module to enable it.
2013-01-13 20:42:17 +02:00
Bozhidar Batsov
b01492e7ea moved back the prelude modules into the main Prelude project 2012-12-15 22:07:25 +02:00
Bozhidar Batsov
a03dfe690d don't hide git clone errors 2012-12-09 18:42:13 +02:00
Bozhidar Batsov
18ed571f29 whitespace cleanup 2012-12-09 18:18:40 +02:00
Andreas Stenius
f6fa53d4c3 utils/installer.sh: fix for replace existing config. 2012-11-02 11:25:23 +01:00
Leo Gertsenshteyn
4873a03e16 Adding missing newline in installer.sh usage text
Usage was missing a newline between --colors and --directory.
2012-10-02 14:52:10 -07:00
bas smit
1c60f80383 Remove the broken usage message. 2012-06-23 11:47:06 +02:00
bas smit
db1e2b2988 Check if prelude is installed before anything else. 2012-06-23 11:44:29 +02:00
bas smit
14c7fb3b4c Don't hide the output of mkdir. 2012-06-23 11:42:02 +02:00
bas smit
26f2c22e05 Removed the savefile dir. 2012-06-23 11:32:00 +02:00
bas smit
ccf74a1197 Fixed bugs in the installer:
- Bytecompilation run twice
- Bash style string concat that doesn't work with sh.
- Default path was \$HOME instead of the users homedir ('' vs "").
2012-06-23 11:29:58 +02:00
bas smit
64b36cfc28 Fixed bytecompilation. 2012-06-22 17:05:23 +02:00
bas
7da8c4075a New installer.
The new installer supports:

- Specify source & destination with cli options.
- Replace or install into existing config.
- Easier colors
- Verbose output
- Disable bytecompilation of prelude.
- Help output
2012-06-22 15:55:26 +02:00
bas
506805d695 Display a warning if emacs-24 isn't found during installation. 2012-06-16 15:45:19 +02:00
Brian Corrigan
c0319652b7 Allows alternate install locations, and repos 2012-06-08 11:56:15 -07:00
Bozhidar Batsov
fe89220fca Update utils/installer.sh 2012-05-11 22:45:20 +03:00
Bozhidar Batsov
058537743a fixed #150 - installer check 2012-05-11 22:44:43 +03:00
Bozhidar Batsov
c09ea1a801 byte-compile Prelude after install 2012-05-11 16:06:40 +03:00
Bozhidar Batsov
a813a50825 fixed #149 - corrected output from the installer script 2012-05-11 13:36:57 +03:00
Bozhidar Batsov
1253ea8a84 use echo -e for the color escape sequences 2012-05-08 14:45:14 +03:00
Bozhidar Batsov
9671c30670 added a few more checks to the installer script 2012-05-07 17:38:16 +03:00
Bozhidar Batsov
8a2dc4b256 updated project URL 2012-04-17 20:23:53 +03:00
Bozhidar Batsov
d7cc771c7d fixed #117 - dir check in installer script 2012-04-05 11:07:20 +03:00
Bozhidar Batsov
72f073feaa mention the transition to personal as a submodule 2012-04-04 18:32:47 +03:00
Bozhidar Batsov
40eee66c5a use the git protocol instead of https in the installer 2012-02-26 21:07:47 +02:00
Bozhidar Batsov
22d9854bbb fixed #70 - signal an error if git is not installed 2012-02-17 12:34:08 +02:00
Bozhidar Batsov
52e2e165e3 added an automated installer 2012-02-16 16:25:18 +02:00