mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-11 09:54:36 +00:00
Patch Figlet Repo if missing (#1044)
* Patch Figlet Repo if missing * readd comment
This commit is contained in:
parent
1378e9a2e9
commit
6bae0d71ea
1 changed files with 4 additions and 0 deletions
|
@ -161,6 +161,10 @@ arch_check() {
|
||||||
header_info() {
|
header_info() {
|
||||||
if [ -f /etc/debian_version ]; then
|
if [ -f /etc/debian_version ]; then
|
||||||
# Debian/Ubuntu
|
# 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
|
apt-get install -y figlet &> /dev/null
|
||||||
elif [ -f /etc/alpine-release ]; then
|
elif [ -f /etc/alpine-release ]; then
|
||||||
# Alpine Linux
|
# Alpine Linux
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue