diff --git a/scripts/os b/scripts/os index 16a3204..8e7d90a 100755 --- a/scripts/os +++ b/scripts/os @@ -27,7 +27,7 @@ checkOS() { DISTRO="$ID" DISTRO_CURRENT="$DISTRO" if [[ -n "$ID_LIKE" ]]; then - DISTRO="${ID_LIKE# *}" + DISTRO="${ID_LIKE%% *}" fi return 0 else