mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2026-03-27 15:17:44 +00:00
Fixed gnome-shell 46 issues
This commit is contained in:
@@ -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 "44" ]]; then
|
||||
if [[ "${SHELL_VERSION:-}" -ge "46" ]]; then
|
||||
GNOME_VERSION="46-0"
|
||||
elif [[ "${SHELL_VERSION:-}" -ge "44" ]]; then
|
||||
GNOME_VERSION="44-0"
|
||||
elif [[ "${SHELL_VERSION:-}" -ge "42" ]]; then
|
||||
GNOME_VERSION="42-0"
|
||||
|
||||
Reference in New Issue
Block a user