Update build.func

This commit is contained in:
CanbiZ 2024-12-28 20:12:49 +01:00 committed by GitHub
parent 6803fbf050
commit cada1057ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -190,6 +190,8 @@ header_info() {
# Move figlet to /usr/local/bin if not already there # Move figlet to /usr/local/bin if not already there
if [ ! -e /usr/local/bin/figlet ]; then if [ ! -e /usr/local/bin/figlet ]; then
mv figlet /usr/local/bin/ mv figlet /usr/local/bin/
mkdir -p /usr/local/share/figlet
cp -r /tmp/figlet/fonts/*.flf /usr/local/share/figlet/
fi fi
msg_ok "Figlet successfully installed and moved to /usr/local/bin" msg_ok "Figlet successfully installed and moved to /usr/local/bin"
@ -892,3 +894,5 @@ EOF
systemctl start ping-instances.service systemctl start ping-instances.service
fi fi
} }
update motd_ip