Update cattools.sh

This commit is contained in:
喵二
2024-07-28 23:14:07 +08:00
committed by GitHub
parent db009ddc95
commit d0f0953e5c

View File

@@ -620,6 +620,7 @@ check_update() {
} }
# Apply_repo # Apply_repo
apply_repo() { apply_repo() {
arch=$(grep -o 'arch=[^ ]*' $RELEASE | cut -d= -f2) arch=$(grep -o 'arch=[^ ]*' $RELEASE | cut -d= -f2)
version=$(grep -o 'version=[^ ]*' $RELEASE | cut -d= -f2) version=$(grep -o 'version=[^ ]*' $RELEASE | cut -d= -f2)