Fix wrong dependency for Red
This commit is contained in:
parent
3aa5b44796
commit
2523d8549a
|
@ -3,13 +3,13 @@ name: "Red"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
apt:
|
apt:
|
||||||
- libcurl5:i386
|
- libcurl4:i386
|
||||||
manual: |
|
manual: |
|
||||||
install -d "${pkg}/opt/red/skel"
|
install -d "${pkg}/opt/red/skel"
|
||||||
install -d "${pkg}/usr/local/bin"
|
install -d "${pkg}/usr/local/bin"
|
||||||
|
|
||||||
path="$(curl -fsSL http://static.red-lang.org/download.html | grep -Eo '/dl/linux/[^"]+' | head -n1)"
|
path="$(curl -fsSL http://static.red-lang.org/download.html | grep -Eo '/dl/linux/[^"]+' | head -n1)"
|
||||||
wget "http://static.red-lang.org/${path}" -O red
|
wget "http://static.red-lang.org${path}" -O red
|
||||||
chmod +x red
|
chmod +x red
|
||||||
cp red "${pkg}/usr/local/bin/"
|
cp red "${pkg}/usr/local/bin/"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue