Move clear to remove busybox dependency

This commit is contained in:
madisetti 2022-02-20 22:46:11 -05:00
parent 70ff68055b
commit 824064faa9
No known key found for this signature in database
GPG Key ID: 9080F46A6E933A9D

View File

@ -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}"