Commit Graph

322 Commits

Author SHA1 Message Date
Jan Felix Langenbach
5d2e828c16 Fix new link not overriding old link
This fixes a bug where an existing link to a share directory would not
be overridden, but the new link would be created inside of the directory
referenced by the old link instead.
2020-01-08 05:26:18 +01:00
Jan Felix Langenbach
e22ed9dbe2 Add check to removal of link to share 2019-12-03 23:34:06 +01:00
Jan Felix Langenbach
71d4c2f054 Fix test -f that should be test -d 2019-12-03 23:30:41 +01:00
Jan Felix Langenbach
a10c2dbd22 Fix test -n that should be test -z 2019-12-03 23:21:00 +01:00
Jan Felix Langenbach
bf4c5a5cf1 Remove link to share on ghcup rm
When the currently set ghc is removed, the ~/.ghcup/share symlink
is now cleaned up like the rest.
2019-12-03 22:51:56 +01:00
Jan Felix Langenbach
dc14846276 Symlink share directory on ghcup set
Setting a default ghc version now creates a symlink from
~/.ghcup/ghc/<version>/share to ~/.ghcup/share so man
can find the manpage of the set ghc.
2019-12-03 22:43:20 +01:00
c19f69d41b
Merge branch 'zsh-detection' 2019-11-27 14:45:14 +08:00
7034131632
Improve shell detection in bootstrap-haskell wrt #121 2019-11-27 12:03:48 +08:00
6afec9094d
Merge remote-tracking branch 'origin/merge-requests/127' 2019-11-20 12:06:29 +08:00
Richard Marmorstein
fc10832378 More actionable instructions in bootstrap-haskell 2019-11-19 18:58:36 -05:00
4f345d109a
Change implementation of mktempdir 2019-11-13 11:29:02 +08:00
28c8c44574
Merge remote-tracking branch 'origin/merge-requests/124' 2019-11-13 11:11:43 +08:00
c72fac8d17
Merge remote-tracking branch 'origin/merge-requests/125' 2019-11-13 11:05:44 +08:00
d64426f107
Retab 2019-11-05 12:04:30 +08:00
2e3968d500
Suggest to create .bash_profile if it doesn't exist 2019-11-05 11:58:37 +08:00
alex
264d84be68 provide temporary directory name prefix only for Darwin 2019-11-04 21:43:48 +00:00
Alex McLean
021a983e91 Add template to mktemp commands, for compatibility with earlier versions of MacOS.
Ref: https://forum.toplap.org/t/trouble-setting-up-tidal-stack-install/902/20
2019-10-31 06:42:05 -04:00
42e8989d0b
Merge branch 'tighten-file-checks' 2019-10-30 17:26:04 +08:00
8e418eac7e
Use -f instead of -e where applicable 2019-10-22 12:04:03 +08:00
b3feba0cd4
Improve choice messages and loop until proper answer is given 2019-10-22 11:44:50 +08:00
5d323c1140
Add chocolatey note to README 2019-10-21 15:47:19 +08:00
1280acf40e
Add BOOTSTRAP_HASKELL_VERBOSE env variable 2019-10-21 15:40:11 +08:00
7440c26f82
Be a little bit less dramatic about modifying .bashrc 2019-10-21 15:14:22 +08:00
53b2924850
Merge remote-tracking branch 'origin/merge-requests/121' 2019-10-21 10:58:30 +08:00
Alex McLean
205d7e84f5 Skip adjusting PATH if in noninteractive mode. 2019-10-15 17:24:15 -04:00
6a126e6bfe
Merge branch 'alpine-8.8.1' 2019-10-08 17:36:21 +08:00
d1912997e9
Add support for GHC-8.8.1 on alpine 2019-10-08 12:43:46 +08:00
db9463a795
Merge remote-tracking branch 'origin/merge-requests/119' 2019-10-03 16:36:36 +08:00
toonn
d28923968f Change to bundled-flags arguments for compatibility
Older versions of tar don't understand the `-xf` flags while newer
versions understand the "bundled-flags" (as documend in bsdtar's
manpage) perfectly. So `tar xf` should maximize compatibility.
2019-09-29 14:47:04 +02:00
toonn
9f083c53e9 Bsdtar has no explicit flag for xz decompression
At least as of Mac OS 10.13.6 the included bsdtar has no flag for xz
decompression while `z` means gzip decompression which is obviously
problematic for xz compressed archives.

I believe that any tar version on Mac OS that can decompress xz archives
also automatically detects compression formats. So `tar xf` should be
fine.

Fixes #119
2019-09-29 14:43:05 +02:00
c3c11ef5a8
Merge remote-tracking branch 'origin/merge-requests/118' 2019-09-04 10:29:25 +08:00
Joseph C. Sible
bea68cd831 Remove xz-utils
This is redundant to build-essential.
2019-09-02 13:28:49 -04:00
Joseph C. Sible
2dd3b5f2c4 Add two more packages for Debian/Ubuntu
If libtinfo5 isn't installed, then installation fails with a message like this:
/home/ubuntu/.ghcup/ghc/8.6.5/lib/ghc-8.6.5/bin/ghc-pkg: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

If xz-utils isn't installed, then installation fails with a message like this:
Following commands are required, but missing, please install:  xz
2019-08-31 18:50:30 -04:00
4bf9bbf72f
Merge remote-tracking branch 'origin/MR/cabal30' 2019-08-28 11:36:59 +08:00
Herbert Valerio Riedel
fce0ed8bf4
Register cabal 3.0.0.0 artifacts 2019-08-27 15:20:58 +02:00
4f6ea146b7
Update latest tag 2019-08-26 18:09:06 +08:00
86c51cae35
Merge remote-tracking branch 'origin/merge-requests/115' 2019-08-26 18:08:36 +08:00
Ben Gamari
18c088df1d
Add GHC 8.8.1 2019-08-26 05:41:10 -04:00
5c1d71154d
Also check for .bash_profile 2019-08-22 15:37:20 +08:00
612e0e1ee2
Merge branch 'easier-install' 2019-08-22 10:50:32 +08:00
61a5e17944
Make installation via bootstrap-haskell easier
Fixes #113
2019-08-21 22:34:53 +08:00
077ed765b7
Fix command_exists for darwin 2019-08-21 19:28:35 +08:00
689ff9e64e
Merge branch 'no-path' 2019-08-21 16:02:03 +08:00
7713180914
Remove redundant PATH messages wrt #113 2019-08-19 10:24:22 +08:00
10d1d2cc58
Merge branch 'no-root' 2019-08-15 11:27:09 +08:00
e23f2a84a6
www: specify that the installation command should be run as normal user
Fixes #112
2019-08-15 11:25:52 +08:00
ad91509d28
Merge remote-tracking branch 'origin/merge-requests/111' 2019-07-29 10:42:56 +08:00
Eric Mertens
5066a0a816 Don't check for xz on darwin
xz is not needed on darwin and checking for it generates a lot
of questions for new users that we could easily avoid.
2019-07-26 09:45:30 -07:00
243b1352a7
Merge branch 'bash-completion' 2019-07-25 19:19:30 +08:00
580da22569
Add basic bash-completion wrt #109 2019-07-24 16:53:15 +08:00