mirror of
https://github.com/vinceliuice/grub2-themes.git
synced 2024-12-25 17:15:35 +01:00
Move clear to remove busybox dependency
This commit is contained in:
parent
70ff68055b
commit
824064faa9
@ -69,8 +69,6 @@ usage() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
generate() {
|
generate() {
|
||||||
clear
|
|
||||||
|
|
||||||
# Make a themes directory if it doesn't exist
|
# Make a themes directory if it doesn't exist
|
||||||
prompt -s "\n Checking for the existence of themes directory..."
|
prompt -s "\n Checking for the existence of themes directory..."
|
||||||
|
|
||||||
@ -115,6 +113,8 @@ install() {
|
|||||||
|
|
||||||
# Check for root access and proceed if it is present
|
# Check for root access and proceed if it is present
|
||||||
if [[ "$UID" -eq "$ROOT_UID" ]]; then
|
if [[ "$UID" -eq "$ROOT_UID" ]]; then
|
||||||
|
clear
|
||||||
|
|
||||||
# Generate the theme in "/usr/share/grub/themes"
|
# Generate the theme in "/usr/share/grub/themes"
|
||||||
generate "${theme}" "${icon}" "${screen}"
|
generate "${theme}" "${icon}" "${screen}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user