mirror of
https://github.com/ej52/proxmox-scripts.git
synced 2025-11-23 17:30:27 +01:00
fix: EPS_OS_NAME: unbound variable
This commit is contained in:
@@ -43,7 +43,7 @@ if [ $? -gt 0 ]; then
|
|||||||
log_error "No install script found for ${CLR_CYB}$EPS_APP_NAME${CLR}"
|
log_error "No install script found for ${CLR_CYB}$EPS_APP_NAME${CLR}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
EPS_OS_NAME=$(uname)
|
export EPS_OS_NAME=$(uname)
|
||||||
export EPS_OS_DISTRO=$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)
|
export EPS_OS_DISTRO=$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)
|
||||||
|
|
||||||
if [ "$EPS_OS_NAME" != "Linux" ]; then
|
if [ "$EPS_OS_NAME" != "Linux" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user