This commit is contained in:
Vince
2023-03-29 14:48:35 +08:00
parent 40e445f855
commit b75523da9c
10 changed files with 335 additions and 5 deletions

View File

@@ -26,7 +26,9 @@ 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)"
if [[ "${SHELL_VERSION:-}" -ge "42" ]]; then
if [[ "${SHELL_VERSION:-}" -ge "44" ]]; then
GNOME_VERSION="44-0"
elif [[ "${SHELL_VERSION:-}" -ge "42" ]]; then
GNOME_VERSION="42-0"
elif [[ "${SHELL_VERSION:-}" -ge "40" ]]; then
GNOME_VERSION="40-0"

View File

@@ -382,7 +382,7 @@ install_shelly() {
fi
if [[ "${GNOME_VERSION}" == 'none' ]]; then
local GNOME_VERSION='42-0'
local GNOME_VERSION='44-0'
fi
mkdir -p "${TARGET_DIR}"