mirror of
https://github.com/vinceliuice/grub2-themes.git
synced 2024-12-25 20:45:34 +01:00
update
This commit is contained in:
parent
091dc940a9
commit
30c9323f82
@ -139,6 +139,7 @@ install() {
|
|||||||
if [[ -f "$custom_background" ]]; then
|
if [[ -f "$custom_background" ]]; then
|
||||||
prompt -i "\n Using ${custom_background} as background image..."
|
prompt -i "\n Using ${custom_background} as background image..."
|
||||||
cp -a "${REO_DIR}/${custom_background}" "${THEME_DIR}/${name}/background.jpg"
|
cp -a "${REO_DIR}/${custom_background}" "${THEME_DIR}/${name}/background.jpg"
|
||||||
|
convert -auto-orient "${THEME_DIR}/${name}/background.jpg" "${THEME_DIR}/${name}/background.jpg"
|
||||||
else
|
else
|
||||||
prompt -e "$custom_background couldn't be found, exiting"
|
prompt -e "$custom_background couldn't be found, exiting"
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user