Skip to content

Commit acd9fd1

Browse files
committed
just get versions from git tags
1 parent 295054e commit acd9fd1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

bin/install

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
11
#!/usr/bin/env bash
22

3-
ghc_version () {
4-
local version=$1
5-
local url="https://downloads.haskell.org/~ghc/${version}/"
6-
curl -s "$url" | grep -oE 'ghc-[^-]+' | head -n 1 | sed -e 's/ghc-//g'
7-
}
8-
93
ghc_install() {
104
local install_type=$1
11-
# local release=$2
125
local version=$2
13-
# local version=$(ghc_version $release)
146
local install_path=$3
157

168
local tmp_dir=$(mktemp -d -t haskell_XXXXXXX)

0 commit comments

Comments
 (0)