Add support for Pop_OS to configure/start scripts

This commit is contained in:
sethforprivacy 2022-09-13 08:46:10 -04:00
parent 7f5acf1ac5
commit 32d222d6ca
No known key found for this signature in database
GPG key ID: 6B9791C6214D1E57

View file

@ -26,7 +26,7 @@ function install_docker() {
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
return 0
elif [[ "${os}" == "ubuntu" ]]; then
elif [[ "${os}" == "ubuntu" || "${os}" == "pop" ]]; then
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y ca-certificates curl gnupg lsb-release
@ -70,7 +70,7 @@ function install_jq() {
local os="${1}"
echo "Installing jq for os ${os}" >/dev/tty
if [[ "${os}" == "debian" || "${os}" == "ubuntu" ]]; then
if [[ "${os}" == "debian" || "${os}" == "ubuntu" || "${os}" == "pop" ]]; then
sudo apt-get update
sudo apt-get install -y jq
return 0