mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-10 19:05:09 +00:00
Patch Figlet Repo if missing (#1044)
* Patch Figlet Repo if missing * readd comment
This commit is contained in:
parent
1378e9a2e9
commit
6bae0d71ea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user