Move clear to remove busybox dependency
This commit is contained in:
parent
70ff68055b
commit
824064faa9
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,6 @@ usage() {
|
|||
}
|
||||
|
||||
generate() {
|
||||
clear
|
||||
|
||||
# Make a themes directory if it doesn't exist
|
||||
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
|
||||
if [[ "$UID" -eq "$ROOT_UID" ]]; then
|
||||
clear
|
||||
|
||||
# Generate the theme in "/usr/share/grub/themes"
|
||||
generate "${theme}" "${icon}" "${screen}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue