Patch Figlet Repo if missing (#1044)

* Patch Figlet Repo if missing

* readd comment
This commit is contained in:
CanbiZ 2024-12-27 19:53:50 +01:00 committed by GitHub
parent 1378e9a2e9
commit 6bae0d71ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -161,6 +161,10 @@ arch_check() {
header_info() {
if [ -f /etc/debian_version ]; then
# Debian/Ubuntu
if ! grep -q "^deb http://ftp.debian.org/debian bookworm main contrib" /etc/apt/sources.list; then
echo "deb http://ftp.debian.org/debian bookworm main contrib" >> /etc/apt/sources.list
apt-get update -y &> /dev/null
fi
apt-get install -y figlet &> /dev/null
elif [ -f /etc/alpine-release ]; then
# Alpine Linux