fix: EPS_OS_NAME: unbound variable

This commit is contained in:
Elton Renda
2023-12-05 13:14:46 +02:00
parent 3a7cf2ed94
commit 39b29f738b

View File

@@ -43,7 +43,7 @@ if [ $? -gt 0 ]; then
log_error "No install script found for ${CLR_CYB}$EPS_APP_NAME${CLR}"
fi
EPS_OS_NAME=$(uname)
export EPS_OS_NAME=$(uname)
export EPS_OS_DISTRO=$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)
if [ "$EPS_OS_NAME" != "Linux" ]; then