Fix Linux Mint codename

此提交包含在:
2024-09-03 19:54:57 -04:00
父節點 9b17144472
當前提交 8047269971

查看文件

@@ -1641,9 +1641,9 @@ update_self() {
# Download the latest version of the script
install_package --silent wget
if command -v wget &>/dev/null; then
wget -q -O "$tmp" "$script_url"
execute wget -q -O "$tmp" "$script_url"
elif command -v curl &>/dev/null; then
curl -s -L -o "$tmp" "$script_url"
execute curl -s -L -o "$tmp" "$script_url"
else
return 1
fi
@@ -1654,6 +1654,8 @@ update_self() {
local remote_version
remote_version=$(extract_version "$tmp")
debug HERE
[[ -z $remote_version ]] && { rm -f "$tmp"; return 1; }
if [[ $local_version < $remote_version ]]; then