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

No files matched your search

+3 -1
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"
+1 -1
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}"