diff --git a/shell/lib-core.sh b/shell/lib-core.sh index 9fc7af3d..285f35cf 100755 --- a/shell/lib-core.sh +++ b/shell/lib-core.sh @@ -26,6 +26,7 @@ MY_HOME=$(getent passwd "${MY_USERNAME}" | cut -d: -f6) if command -v gnome-shell &> /dev/null; then SHELL_VERSION="$(gnome-shell --version | cut -d ' ' -f 3 | cut -d . -f -1)" + LAST_VERSION="46-0" if [[ "${SHELL_VERSION:-}" -ge "46" ]]; then GNOME_VERSION="46-0" elif [[ "${SHELL_VERSION:-}" -ge "44" ]]; then diff --git a/shell/lib-install.sh b/shell/lib-install.sh index ae41efd3..de46de04 100755 --- a/shell/lib-install.sh +++ b/shell/lib-install.sh @@ -382,7 +382,7 @@ install_shelly() { fi if [[ "${GNOME_VERSION}" == 'none' ]]; then - local GNOME_VERSION='44-0' + local GNOME_VERSION="${LAST_VERSION}" fi mkdir -p "${TARGET_DIR}"