1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-04-28 15:10:17 +00:00

Update build.func

This commit is contained in:
CanbiZ 2024-12-28 20:42:32 +01:00 committed by GitHub
parent 5973a8c4b1
commit 31ab0f3266
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -189,7 +189,7 @@ update_motd_ip() {
header_info() { header_info() {
# Check if figlet is installed # Check if figlet is installed
if ! command -v figlet &> /dev/null; then if ! command -v figlet &> /dev/null; then
echo -e "${INFO}${BOLD}${DGN}Figlet for ASCII-Header not found. Installing..." echo -e "${INFO}${BOLD}${DGN}Figlet for ASCII-Header not found. Installing...${CL}"
# Install necessary dependencies and figlet # Install necessary dependencies and figlet
if [ -f /etc/debian_version ] || [ -f /etc/lsb-release ]; then if [ -f /etc/debian_version ] || [ -f /etc/lsb-release ]; then
@ -224,7 +224,7 @@ header_info() {
cp -r /tmp/figlet/fonts/*.flf /usr/local/share/figlet/ cp -r /tmp/figlet/fonts/*.flf /usr/local/share/figlet/
fi fi
echo -e "${CM}${BOLD}${DGN}Figlet successfully installed" echo -e "${CM}${BOLD}${DGN}Figlet successfully installed.${CL}""
fi fi
rm -rf "$temp_dir" rm -rf "$temp_dir"