1
0
Fork 0
This commit is contained in:
VirtuBox 2019-01-09 01:07:34 +01:00
parent 6a1b293a84
commit ea9ecbd01b
1 changed files with 9 additions and 6 deletions

View File

@ -141,13 +141,16 @@ EE_SHOW_LOG() {
}
CHEAT_CHECK() {
if [ ! -x /usr/local/bin/cht.sh ]; then
curl https://cht.sh/:cht.sh > /usr/bin/cht.sh || wget -O /usr/bin/cht.sh https://cht.sh/:cht.sh
chmod +x /usr/local/bin/cht.sh
fi
/usr/local/bin/cht.sh
{
[ -x /usr/local/bin/cht.sh ] && { /usr/local/bin/cht.sh "$@"; }
[ -x /usr/bin/cht.sh ] && { /usr/bin/cht.sh "$@"; }
} || {
curl -s https://cht.sh/:cht.sh >/usr/bin/cht.sh || wget -O /usr/bin/cht.sh https://cht.sh/:cht.sh
chmod +x /usr/local/bin/cht.sh
/usr/local/bin/cht.sh "$@"
}
}
EE_SHOW_FPM() {