mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
Update core.func
This commit is contained in:
@@ -226,7 +226,7 @@ __curl_err_handler() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
detect_os() {
|
detect_os() {
|
||||||
case "$var_os" in
|
case "$PCT_OSTYPE" in
|
||||||
alpine) CORE_OS="alpine" ;;
|
alpine) CORE_OS="alpine" ;;
|
||||||
debian | ubuntu) CORE_OS="debian" ;;
|
debian | ubuntu) CORE_OS="debian" ;;
|
||||||
*) CORE_OS="unknown" ;;
|
*) CORE_OS="unknown" ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user