mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-27 17:16:07 +00:00
Initial commit
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
release=$(cat /etc/os-release | grep UBUNTU_CODENAME | cut -d= -f2)
|
||||
version=$1
|
||||
arch=$2
|
||||
file=elixir_$version-1~ubuntu~$release\_$arch.deb
|
||||
|
||||
cd /tmp
|
||||
|
||||
wget https://packages.erlang-solutions.com/erlang/debian/pool/$file
|
||||
sudo dpkg -i $file
|
||||
Reference in New Issue
Block a user