From 091dc940a9da48f760c41e9885b04091cc94485b Mon Sep 17 00:00:00 2001 From: Vince Date: Sat, 17 Oct 2020 20:25:21 +0800 Subject: [PATCH] Fixed install issue --- install.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/install.sh b/install.sh index 9c6dcfd..e52c3e9 100755 --- a/install.sh +++ b/install.sh @@ -145,13 +145,14 @@ install() { fi else cp -a "${REO_DIR}/backgrounds/${screen}/background-${theme}.jpg" "${THEME_DIR}/${name}/background.jpg" - if [[ ${screen} == '1080p_21:9' ]]; then - cp -a "${REO_DIR}/assets/assets-${icon}/icons-1080p" "${THEME_DIR}/${name}/icons" - cp -a "${REO_DIR}/assets/assets-${icon}/select-1080p/"*.png "${THEME_DIR}/${name}" - else - cp -a "${REO_DIR}/assets/assets-${icon}/icons-${screen}" "${THEME_DIR}/${name}/icons" - cp -a "${REO_DIR}/assets/assets-${icon}/select-${screen}/"*.png "${THEME_DIR}/${name}" - fi + fi + + if [[ ${screen} == '1080p_21:9' ]]; then + cp -a "${REO_DIR}/assets/assets-${icon}/icons-1080p" "${THEME_DIR}/${name}/icons" + cp -a "${REO_DIR}/assets/assets-${icon}/select-1080p/"*.png "${THEME_DIR}/${name}" + else + cp -a "${REO_DIR}/assets/assets-${icon}/icons-${screen}" "${THEME_DIR}/${name}/icons" + cp -a "${REO_DIR}/assets/assets-${icon}/select-${screen}/"*.png "${THEME_DIR}/${name}" fi # Set theme