Refactor: Remove gpg / gnupg from script base (#4775)

* Refactor: Remove gpg / gnupg from

* push more

* add more

* Update reactive-resume-install.sh

* Revert: add unzip

---------

Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
This commit is contained in:
CanbiZ 2025-05-28 10:54:01 +02:00 committed by GitHub
parent aed2c0e5bf
commit 010928fee2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
58 changed files with 32 additions and 167 deletions

View File

@ -16,7 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
gpg \
gdal-bin \
libgdal-dev \
git \

View File

@ -13,17 +13,6 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apk add \
newt \
curl \
openssh \
nano \
mc \
gpg
msg_ok "Installed Dependencies"
msg_info "Installing Gitea"
$STD apk add --no-cache gitea
msg_ok "Installed Gitea"

View File

@ -13,12 +13,6 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apk add \
gpg \
sudo
msg_ok "Installed Dependencies"
msg_info "Installing MariaDB"
$STD apk add --no-cache mariadb mariadb-client
$STD rc-update add mariadb default

View File

@ -15,7 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apk add --no-cache \
gpg \
git \
nodejs \
npm

View File

@ -13,11 +13,6 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apk add \
gpg
msg_ok "Installed Dependencies"
msg_info "Installing Prometheus"
$STD apk add --no-cache prometheus
msg_ok "Installed Prometheus"

View File

@ -13,17 +13,6 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apk add \
newt \
curl \
openssh \
nano \
mc \
gpg
msg_ok "Installed Dependencies"
msg_info "Installing Redis"
$STD apk add redis
$STD sed -i 's/^bind .*/bind 0.0.0.0/' /etc/redis.conf

View File

@ -15,12 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apk add \
newt \
curl \
openssh \
nano \
mc \
gpg \
iptables \
openrc
msg_ok "Installed Dependencies"

View File

@ -15,7 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y apt-transport-https
$STD apt-get install -y gpg
msg_ok "Installed Dependencies"
msg_info "Installing Eclipse Temurin (Patience)"

View File

@ -15,9 +15,7 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
gnupg2 \
lsb-release \
gpg \
apt-transport-https
msg_ok "Installed Dependencies"

View File

@ -14,7 +14,6 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
$STD apt-get install -y apt-transport-https
$STD apt-get install -y lsb-release
msg_ok "Installed Dependencies"

View File

@ -17,8 +17,7 @@ msg_info "Installing Dependencies"
$STD apt-get install -y \
debian-keyring \
debian-archive-keyring \
apt-transport-https \
gpg
apt-transport-https
msg_ok "Installed Dependencies"
msg_info "Installing Caddy"

View File

@ -16,8 +16,7 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
lsb-release \
gpg
lsb-release
msg_ok "Installed Dependencies"
msg_info "Setting up evcc Repository"

View File

@ -15,7 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y avahi-daemon
$STD apt-get install -y gnupg2
msg_ok "Installed Dependencies"
msg_info "Setting up Fhem Repository"

View File

@ -16,7 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y apt-transport-https
$STD apt-get install -y gpg
$STD apt-get install -y xvfb
msg_ok "Installed Dependencies"

View File

@ -16,7 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
zip \
gnupg \
postgresql-common
msg_ok "Installed Dependencies"

View File

@ -15,7 +15,7 @@ network_check
update_os
msg_info "Installing Dependencies (Patience)"
$STD apt-get install -y {git,gpg,ca-certificates,automake,build-essential,xz-utils,libtool,ccache,pkg-config,libgtk-3-dev,libavcodec-dev,libavformat-dev,libswscale-dev,libv4l-dev,libxvidcore-dev,libx264-dev,libjpeg-dev,libpng-dev,libtiff-dev,gfortran,openexr,libatlas-base-dev,libssl-dev,libtbb2,libtbb-dev,libdc1394-22-dev,libopenexr-dev,libgstreamer-plugins-base1.0-dev,libgstreamer1.0-dev,gcc,gfortran,libopenblas-dev,liblapack-dev,libusb-1.0-0-dev,jq,moreutils}
$STD apt-get install -y {git,ca-certificates,automake,build-essential,xz-utils,libtool,ccache,pkg-config,libgtk-3-dev,libavcodec-dev,libavformat-dev,libswscale-dev,libv4l-dev,libxvidcore-dev,libx264-dev,libjpeg-dev,libpng-dev,libtiff-dev,gfortran,openexr,libatlas-base-dev,libssl-dev,libtbb2,libtbb-dev,libdc1394-22-dev,libopenexr-dev,libgstreamer-plugins-base1.0-dev,libgstreamer1.0-dev,gcc,gfortran,libopenblas-dev,liblapack-dev,libusb-1.0-0-dev,jq,moreutils}
msg_ok "Installed Dependencies"
msg_info "Setup Python3"

View File

@ -13,10 +13,6 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
msg_ok "Installed Dependencies"
msg_info "Installing OpenJDK"
curl -fsSL "https://packages.adoptium.net/artifactory/api/gpg/key/public" | gpg --dearmor >/etc/apt/trusted.gpg.d/adoptium.gpg
echo 'deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/adoptium.gpg] https://packages.adoptium.net/artifactory/deb bookworm main' >/etc/apt/sources.list.d/adoptium.list

View File

@ -17,7 +17,6 @@ msg_info "Installing Dependencies"
$STD apt-get install -y \
redis-server \
ca-certificates \
gpg \
make \
g++ \
build-essential \

View File

@ -16,7 +16,6 @@ update_os
msg_info "Installing Dependencies (Patience)"
$STD apt-get install -y \
git \
gnupg \
ca-certificates \
bluez \
libtiff6 \

View File

@ -15,7 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y avahi-daemon
$STD apt-get install -y gnupg2
msg_ok "Installed Dependencies"
msg_info "Setting up Homebridge Repository"

View File

@ -14,7 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg jq
$STD apt-get install -y jq
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="pnpm@latest" install_node_and_modules

View File

@ -15,7 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y lsb-release
$STD apt-get install -y gpg
$STD apt-get install -y apt-transport-https
$STD apt-get install -y libpython3.11

View File

@ -16,7 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y lsb-base
$STD apt-get install -y lsb-release
$STD apt-get install -y gnupg2
msg_ok "Installed Dependencies"
msg_info "Setting up InfluxDB Repository"

View File

@ -13,10 +13,6 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
msg_ok "Installed Dependencies"
msg_info "Setting Up Hardware Acceleration"
$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools}
if [[ "$CTTYPE" == "0" ]]; then

View File

@ -18,7 +18,6 @@ $STD apt-get install -y \
g++ \
build-essential \
git \
gnupg \
ca-certificates \
chromium/stable \
chromium-common/stable \

View File

@ -14,10 +14,6 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
msg_ok "Installed Dependencies"
msg_info "Installing IPFS"
RELEASE=$(curl -fsSL https://github.com/ipfs/kubo/releases/latest | grep "title>Release" | cut -d " " -f 4)
$STD curl -fsSL "https://github.com/ipfs/kubo/releases/download/${RELEASE}/kubo_${RELEASE}_linux-amd64.tar.gz" -o "kubo_${RELEASE}_linux-amd64.tar.gz"

View File

@ -14,10 +14,6 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
msg_ok "Installed Dependencies"
msg_info "Installing lldap"
source /etc/os-release
os=$ID

View File

@ -13,11 +13,7 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
gpg \
postgresql
msg_ok "Installed Dependencies"
PG_VERSION="16" install_postgresql
msg_info "Setting up PostgreSQL"
DB_NAME=mattermost

View File

@ -16,7 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
gpg \
git-core \
mediainfo

View File

@ -13,10 +13,6 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
msg_ok "Installed Dependencies"
msg_info "Installing Mosquitto MQTT Broker"
source /etc/os-release
curl -fsSL http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key >/usr/share/keyrings/mosquitto-repo.gpg.key

View File

@ -16,7 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
gnupg2 \
lsb-release
msg_ok "Installed Dependencies"

View File

@ -16,7 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get update
$STD apt-get -y install \
gnupg \
ca-certificates \
apache2-utils \
logrotate \

View File

@ -13,10 +13,6 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
msg_ok "Installed Dependencies"
msg_info "Installing Notifiarr"
$STD groupadd notifiarr
$STD useradd -g notifiarr notifiarr

View File

@ -15,7 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
gpg \
apt-transport-https
msg_ok "Installed Dependencies"

View File

@ -16,7 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
gpg \
par2
cat <<EOF >/etc/apt/sources.list.d/non-free.list

View File

@ -14,16 +14,16 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gnupg jsvc
$STD apt-get install -y jsvc
msg_ok "Installed Dependencies"
msg_info "Checking CPU Features"
if lscpu | grep -q 'avx'; then
MONGODB_VERSION="7.0"
msg_ok "AVX detected: Using MongoDB 7.0"
MONGODB_VERSION="7.0"
msg_ok "AVX detected: Using MongoDB 7.0"
else
msg_error "No AVX detected: TP-Link Canceled Support for Old MongoDB for Debian 12\n https://www.tp-link.com/baltic/support/faq/4160/"
exit 0
msg_error "No AVX detected: TP-Link Canceled Support for Old MongoDB for Debian 12\n https://www.tp-link.com/baltic/support/faq/4160/"
exit 0
fi
msg_info "Installing Azul Zulu Java"
@ -36,10 +36,10 @@ msg_ok "Installed Azul Zulu Java"
msg_info "Installing libssl (if needed)"
if ! dpkg -l | grep -q 'libssl1.1'; then
curl -fsSL "https://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.1_1.1.1w-0+deb11u2_amd64.deb" -o "/tmp/libssl.deb"
$STD dpkg -i /tmp/libssl.deb
rm -f /tmp/libssl.deb
msg_ok "Installed libssl1.1"
curl -fsSL "https://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.1_1.1.1w-0+deb11u2_amd64.deb" -o "/tmp/libssl.deb"
$STD dpkg -i /tmp/libssl.deb
rm -f /tmp/libssl.deb
msg_ok "Installed libssl1.1"
fi
msg_info "Installing MongoDB $MONGODB_VERSION"
@ -51,8 +51,8 @@ msg_ok "Installed MongoDB $MONGODB_VERSION"
msg_info "Installing Omada Controller"
OMADA_URL=$(curl -fsSL "https://support.omadanetworks.com/en/download/software/omada-controller/" |
grep -o 'https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' |
head -n1)
grep -o 'https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' |
head -n1)
OMADA_PKG=$(basename "$OMADA_URL")
curl -fsSL "$OMADA_URL" -o "$OMADA_PKG"
$STD dpkg -i "$OMADA_PKG"

View File

@ -13,10 +13,6 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
msg_ok "Installed Dependencies"
msg_info "Installing OpenMediaVault (Patience)"
curl -fsSL "https://packages.openmediavault.org/public/archive.key" | gpg --dearmor >"/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg"
cat <<EOF >/etc/apt/sources.list.d/openmediavault.list

View File

@ -15,7 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
gnupg \
ca-certificates \
apt-transport-https
msg_ok "Installed Dependencies"

View File

@ -13,10 +13,6 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
msg_ok "Installed Dependencies"
msg_info "Installing openziti"
mkdir -p --mode=0755 /usr/share/keyrings
curl -fsSL https://get.openziti.io/tun/package-repos.gpg | gpg --dearmor -o /usr/share/keyrings/openziti.gpg

View File

@ -13,10 +13,6 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
msg_ok "Installed Dependencies"
msg_info "Installing openziti"
mkdir -p --mode=0755 /usr/share/keyrings
curl -sSLf https://get.openziti.io/tun/package-repos.gpg | gpg --dearmor -o /usr/share/keyrings/openziti.gpg

View File

@ -15,7 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
gnupg \
mkcert \
git \
redis

View File

@ -20,7 +20,6 @@ $STD apt-get install -y \
imagemagick \
fonts-liberation \
optipng \
gnupg \
libpq-dev \
libmagic-dev \
mime-support \

View File

@ -13,10 +13,6 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
msg_ok "Installed Dependencies"
msg_info "Setting Up Hardware Acceleration"
$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools}
if [[ "$CTTYPE" == "0" ]]; then

View File

@ -13,10 +13,6 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
msg_ok "Installed Dependencies"
msg_info "Installing Proxmox Backup Server"
curl -fsSL "https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg" -o "/etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg"
cat <<EOF >>/etc/apt/sources.list

View File

@ -13,17 +13,13 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
msg_ok "Installed Dependencies"
msg_info "Installing Proxmox Datacenter Manager"
curl -fsSL https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg | gpg --dearmor -o /etc/apt/keyrings/proxmox-release-bookworm.gpg
echo "deb [signed-by=/etc/apt/keyrings/proxmox-release-bookworm.gpg] http://download.proxmox.com/debian/pdm bookworm pdm-test " >/etc/apt/sources.list.d/proxmox-release-bookworm.list
$STD apt-get update
$STD apt-get install -y \
proxmox-datacenter-manager \
proxmox-datacenter-manager-ui
proxmox-datacenter-manager \
proxmox-datacenter-manager-ui
msg_ok "Installed Proxmox Datacenter Manager"
motd_ssh

View File

@ -17,7 +17,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
lsb-release \
gnupg \
apt-transport-https \
make
msg_ok "Installed Dependencies"

View File

@ -14,21 +14,13 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
gnupg \
unzip \
postgresql-common
msg_ok "Installed Dependencies"
msg_info "Installing Additional Dependencies"
mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" >/etc/apt/sources.list.d/nodesource.list
echo "YES" | /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh &>/dev/null
$STD apt-get install -y postgresql-16 nodejs
cd /tmp
curl -fsSL https://dl.min.io/server/minio/release/linux-amd64/minio.deb -o minio.deb
$STD dpkg -i minio.deb
msg_ok "Installed Dependencies"
PG_VERSION="16" PG_MODULES="common" install_postgresql
NODE_VERSION="22" NODE_MODULE="pnpm@latest" install_node_and_modules
msg_info "Setting up Database"
DB_USER="rxresume"
@ -126,11 +118,11 @@ TOKEN=${CHROME_TOKEN}
EOF
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
{
echo "${APPLICATION} Credentials"
echo "Database User: $DB_USER"
echo "Database Password: $DB_PASS"
echo "Database Name: $DB_NAME"
echo "Minio Root Password: ${MINIO_PASS}"
echo "${APPLICATION} Credentials"
echo "Database User: $DB_USER"
echo "Database Password: $DB_PASS"
echo "Database Name: $DB_NAME"
echo "Minio Root Password: ${MINIO_PASS}"
} >>~/${APPLICATION}.creds
msg_ok "Configured applications"

View File

@ -15,7 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y apt-transport-https
$STD apt-get install -y gpg
$STD apt-get install -y lsb-release
msg_ok "Installed Dependencies"

View File

@ -15,8 +15,7 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
git \
gpg
git
curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?fingerprint=on&op=get&search=0x6125E2A8C77F2818FB7BD15B93C4A3FD7BB9C367" | gpg --dearmour >/usr/share/keyrings/ansible-archive-keyring.gpg
cat <<EOF >/etc/apt/sources.list.d/ansible.list

View File

@ -14,7 +14,6 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
$STD apt-get install -y sqlite3
msg_ok "Installed Dependencies"

View File

@ -19,7 +19,6 @@ $STD apt-get install -y \
build-essential \
make \
libpq-dev \
gpg \
ca-certificates
msg_ok "Installed Dependencies"

View File

@ -15,7 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt install -y \
gpg \
coreutils
msg_ok "Installed Dependencies"

View File

@ -14,7 +14,6 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y gpg
$STD apt-get install -y apt-transport-https
msg_ok "Installed Dependencies"

View File

@ -15,7 +15,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
gnupg \
coreutils
msg_ok "Installed Dependencies"

View File

@ -14,7 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y {gpg,arp-scan,ieee-data,libwww-perl}
$STD apt-get install -y {arp-scan,ieee-data,libwww-perl}
msg_ok "Installed Dependencies"
msg_info "Installing WatchYourLAN"

View File

@ -15,8 +15,7 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
git \
gpg
git
msg_ok "Installed Dependencies"
NODE_VERSION="20" NODE_MODULE="yarn@latest,node-gyp" install_node_and_modules

View File

@ -16,10 +16,8 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
git \
gpg \
nginx \
apt-transport-https \
gnupg
apt-transport-https
msg_ok "Installed Dependencies"
msg_info "Setting up Elasticsearch"

View File

@ -143,7 +143,7 @@ update_os() {
msg_info "Installing core dependencies"
$STD apk update
$STD apk add newt curl openssh nano mc ncurses
$STD apk add newt curl openssh nano mc ncurses gpg
msg_ok "Core dependencies installed"
}