Stop using Sourceforge (prevent hung downloads)

This commit is contained in:
Radon Rosborough 2020-08-22 14:24:09 -06:00
parent 32acc77eec
commit d805b3efc0
2 changed files with 6 additions and 7 deletions

View File

@ -813,7 +813,7 @@ main() ->
aliases: ["ex", "exw", "exu", "euc", "eui", "eub"],
name: "Euphoria",
main: "main.exu",
run: "eui main.exu",
run: "exu main.exu",
template: `puts(1, "Hello, world!\\n")
`,
},

View File

@ -101,12 +101,11 @@ chmod +x rebar3
mv rebar3 /usr/local/bin/rebar3
# Euphoria
# It's not possible to rolling-release because they don't upload a
# consistent set of files for every version. In particular there's no
# .deb file for 4.1.0. Besides, the latest release was in 2014.
wget -nv https://sourceforge.net/projects/rapideuphoria/files/Euphoria/4.0.5/euphoria_4.0.5_amd64.deb/download -O euphoria.deb
dpkg -i euphoria.deb
rm euphoria.deb
wget -nv http://www.rapideuphoria.com/31/euphor31.tar
mkdir /opt/euphoria
tar -xf euphor*.tar -C /opt/euphoria --strip-components=1
ln -s /opt/euphoria/bin/exu /usr/bin/
rm euphor*.tar
# Factor
ver="$(curl -sSL https://factorcode.org/ | grep -Eo 'release\?os=linux[^>]+>[^<]+' | sed -E 's/[^>]+>//' | head -n1)"