mirror of
https://github.com/byReqz/conn.git
synced 2024-11-24 17:54:55 +00:00
version typo
This commit is contained in:
parent
c287d5ec65
commit
e2bd24bbd4
2
conn.sh
2
conn.sh
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
version=19
|
version=20
|
||||||
if [[ $(curl -s https://raw.githubusercontent.com/byReqz/conn/main/version) > "$version" ]] && [[ -z $1 ]] || [[ $(curl -s https://raw.githubusercontent.com/byReqz/conn/main/version) > "$version" ]] && [[ $1 != "--update" ]] || [[ $(curl -s https://raw.githubusercontent.com/byReqz/conn/main/version) > "$version" ]] && [[ $1 != "-u" ]];then
|
if [[ $(curl -s https://raw.githubusercontent.com/byReqz/conn/main/version) > "$version" ]] && [[ -z $1 ]] || [[ $(curl -s https://raw.githubusercontent.com/byReqz/conn/main/version) > "$version" ]] && [[ $1 != "--update" ]] || [[ $(curl -s https://raw.githubusercontent.com/byReqz/conn/main/version) > "$version" ]] && [[ $1 != "-u" ]];then
|
||||||
echo "#############################################"
|
echo "#############################################"
|
||||||
echo -e "\e[4mnote: newer version detected, use -u to update\e[0m"
|
echo -e "\e[4mnote: newer version detected, use -u to update\e[0m"
|
||||||
|
Loading…
Reference in New Issue
Block a user