mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2025-06-04 13:13:04 +00:00
Fixed #1046 Install failed on MATE Desktop
This commit is contained in:
parent
93c563d82c
commit
97cc1ce7cb
@ -26,7 +26,6 @@ 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
|
||||
@ -39,7 +38,7 @@ if command -v gnome-shell &> /dev/null; then
|
||||
GNOME_VERSION="3-28"
|
||||
fi
|
||||
else
|
||||
GNOME_VERSION="none"
|
||||
GNOME_VERSION="46-0"
|
||||
fi
|
||||
|
||||
#----------Program options-------------#
|
||||
|
@ -381,10 +381,6 @@ install_shelly() {
|
||||
TARGET_DIR="${6}"
|
||||
fi
|
||||
|
||||
if [[ "${GNOME_VERSION}" == 'none' ]]; then
|
||||
local GNOME_VERSION="${LAST_VERSION}"
|
||||
fi
|
||||
|
||||
mkdir -p "${TARGET_DIR}"
|
||||
mkdir -p "${TARGET_DIR}/assets"
|
||||
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/icons" "${TARGET_DIR}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user