diff --git a/shell/lib-core.sh b/shell/lib-core.sh index 285f35cf..607c2d61 100755 --- a/shell/lib-core.sh +++ b/shell/lib-core.sh @@ -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-------------# diff --git a/shell/lib-install.sh b/shell/lib-install.sh index de46de04..48f0abbb 100755 --- a/shell/lib-install.sh +++ b/shell/lib-install.sh @@ -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}"