Commit Graph

342 Commits

Author SHA1 Message Date
b322c27b48
Better menu 2020-01-09 01:04:59 +01:00
f7a68501b0
Add note about man pages 2020-01-09 00:59:48 +01:00
dbf76bd8be
Merge remote-tracking branch 'origin/merge-requestes/129' 2020-01-09 00:42:44 +01:00
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
64e3af0225
Add 8.4.2 2020-01-07 14:15:34 +01:00
1bdd80e3c5
Add 8.4.1 2020-01-07 14:15:24 +01:00
75977faafd
Tweak status message 2019-12-25 17:53:57 +01:00
5445c5cfd2
Merge remote-tracking branch 'origin/allow-os-overwrite' 2019-12-21 23:28:29 +08:00
02e356663f
Allow to overwrite the distro used, wrt #116 2019-12-16 15:35:41 +08:00
2458f5e9db
Be a little more lax in get_distro_alias 2019-12-16 15:34:47 +08:00
0036c95c60
Rm status messages 2019-12-16 15:13:55 +08:00
af5fda0cd6
Switch version detection logic, by @trac-lierdakil 2019-12-16 15:11:27 +08:00
b82146d346
Merge remote-tracking branch 'remotes/origin/merge-requests/117' 2019-12-16 15:01:39 +08:00
b69ae29836
Point windows users to ghcups
Closes #114
2019-12-13 13:56:10 +08:00
e349d41e12
Merge remote-tracking branch 'origin/merge-requests/130' 2019-12-07 13:56:00 +08:00
Olius
f4b8a209c7 Changed "local" mydistro to mktemp_mydistro to avoid global name conflicts 2019-12-06 22:46:21 -05:00
Olius
9a087197c9 Added newline to match script style 2019-12-06 21:01:06 -05:00
Olius
8711a4a318 Added mydistro definition to fix mktempdir 2019-12-06 20:59:04 -05: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