mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-15 13:50:26 +08:00
bug fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/env bash
|
#!/bin/bash
|
||||||
## Author: SuperManito
|
## Author: SuperManito
|
||||||
## Modified: 2021-10-17
|
## Modified: 2021-10-17
|
||||||
## License: GPL-2.0
|
## License: GPL-2.0
|
||||||
@@ -11,7 +11,7 @@ function AuthorSignature() {
|
|||||||
elif [ ${SYSTEM_FACTIONS} = ${SYSTEM_REDHAT} ]; then
|
elif [ ${SYSTEM_FACTIONS} = ${SYSTEM_REDHAT} ]; then
|
||||||
yum install -y figlet toilet >/dev/null 2>&1
|
yum install -y figlet toilet >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
if [ $? -eq 0 ]; then
|
if [ -x /usr/bin/toilet ]; then
|
||||||
echo -e "\n$(toilet -f slant -F border --gay SuperManito)\n"
|
echo -e "\n$(toilet -f slant -F border --gay SuperManito)\n"
|
||||||
else
|
else
|
||||||
echo -e '\n\033[35m _____ __ ___ _ __ \033[0m'
|
echo -e '\n\033[35m _____ __ ___ _ __ \033[0m'
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ function AuthorSignature() {
|
|||||||
elif [ ${SYSTEM_FACTIONS} = ${SYSTEM_REDHAT} ]; then
|
elif [ ${SYSTEM_FACTIONS} = ${SYSTEM_REDHAT} ]; then
|
||||||
yum install -y figlet toilet >/dev/null 2>&1
|
yum install -y figlet toilet >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
if [ $? -eq 0 ]; then
|
if [ -x /usr/bin/toilet ]; then
|
||||||
echo -e "\n$(toilet -f slant -F border --gay SuperManito)\n"
|
echo -e "\n$(toilet -f slant -F border --gay SuperManito)\n"
|
||||||
else
|
else
|
||||||
echo -e '\n\033[35m _____ __ ___ _ __ \033[0m'
|
echo -e '\n\033[35m _____ __ ___ _ __ \033[0m'
|
||||||
|
|||||||
Reference in New Issue
Block a user