mirror of
https://github.com/vinceliuice/grub2-themes.git
synced 2024-12-25 17:25:35 +01:00
Fixed install issue
This commit is contained in:
parent
e83c89b0a9
commit
091dc940a9
@ -145,6 +145,8 @@ install() {
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
cp -a "${REO_DIR}/backgrounds/${screen}/background-${theme}.jpg" "${THEME_DIR}/${name}/background.jpg"
|
cp -a "${REO_DIR}/backgrounds/${screen}/background-${theme}.jpg" "${THEME_DIR}/${name}/background.jpg"
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ ${screen} == '1080p_21:9' ]]; then
|
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}/icons-1080p" "${THEME_DIR}/${name}/icons"
|
||||||
cp -a "${REO_DIR}/assets/assets-${icon}/select-1080p/"*.png "${THEME_DIR}/${name}"
|
cp -a "${REO_DIR}/assets/assets-${icon}/select-1080p/"*.png "${THEME_DIR}/${name}"
|
||||||
@ -152,7 +154,6 @@ install() {
|
|||||||
cp -a "${REO_DIR}/assets/assets-${icon}/icons-${screen}" "${THEME_DIR}/${name}/icons"
|
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}"
|
cp -a "${REO_DIR}/assets/assets-${icon}/select-${screen}/"*.png "${THEME_DIR}/${name}"
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
# Set theme
|
# Set theme
|
||||||
prompt -i "\n Setting ${name} as default..."
|
prompt -i "\n Setting ${name} as default..."
|
||||||
|
Loading…
Reference in New Issue
Block a user