#!/bin/sh # SmokeTunnel for Ubuntu / Debian: the apt repository (signed), then the package. Run: curl -fsSL https://packages.smoketunnel.com/install.sh | sh set -e SUDO=""; [ "$(id -u)" -eq 0 ] || SUDO=sudo $SUDO install -d -m 755 /usr/share/keyrings curl -fsSL https://packages.smoketunnel.com/smoketunnel-archive-keyring.gpg | $SUDO tee /usr/share/keyrings/smoketunnel-archive-keyring.gpg >/dev/null echo "deb [arch=amd64 signed-by=/usr/share/keyrings/smoketunnel-archive-keyring.gpg] https://packages.smoketunnel.com stable main" | $SUDO tee /etc/apt/sources.list.d/smoketunnel.list >/dev/null $SUDO apt-get update $SUDO apt-get install -y smoketunnel