Update install.sh
This commit is contained in:
@@ -15,7 +15,7 @@ fi
|
|||||||
install_cattools() {
|
install_cattools() {
|
||||||
if [ ! -f /usr/bin/cattools ]; then
|
if [ ! -f /usr/bin/cattools ]; then
|
||||||
echo "cattools not found, installing..."
|
echo "cattools not found, installing..."
|
||||||
if curl --silent --connect-timeout 5 -o /usr/bin/cattools https://service.miaoer.xyz/cattools/cattools.sh; then
|
if curl --silent --connect-timeout 5 -o /usr/bin/cattools https://raw.miaoer.net/cattools/cattools.sh; then
|
||||||
echo "cattools installed successfully from the first URL."
|
echo "cattools installed successfully from the first URL."
|
||||||
elif curl --silent --connect-timeout 5 -o /usr/bin/cattools https://raw.githubusercontent.com/miaoermua/cattools/main/cattools.sh; then
|
elif curl --silent --connect-timeout 5 -o /usr/bin/cattools https://raw.githubusercontent.com/miaoermua/cattools/main/cattools.sh; then
|
||||||
echo "cattools installed successfully from the second URL."
|
echo "cattools installed successfully from the second URL."
|
||||||
|
|||||||
Reference in New Issue
Block a user