Browse Source

fix install script

feature/startup-from-labels
Mario Alegre 5 years ago
parent
commit
e87ff9e0fb
  1. 4
      install.sh

4
install.sh

@ -18,8 +18,8 @@ if [[ $distro == "Debian" ]]; then
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_$release/ /" > /etc/apt/sources.list.d/podman.list echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_$release/ /" > /etc/apt/sources.list.d/podman.list
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_$release/Release.key | sudo apt-key add - curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_$release/Release.key | sudo apt-key add -
apt update -y sudo apt update -y
apt install -y podman sudo apt install -y podman
else else
echo "Error: failed to detect distro" echo "Error: failed to detect distro"
exit 1 exit 1

Loading…
Cancel
Save