This commit is contained in:
Valeria Fadeeva 2023-12-20 21:14:33 +05:00
parent eba441cff9
commit f0706ac28d
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ if [ -d "$KERNEL_DIR" ]; then
template_choice=$(cat "/etc/refind-menu-generator/menu-template.conf" | awk '{$1=$1;print}') template_choice=$(cat "/etc/refind-menu-generator/menu-template.conf" | awk '{$1=$1;print}')
if [ ! -f "/etc/refind-menu-generator/${template_choice}.txt" ] || [ "$(ls -s /etc/refind-menu-generator/${template_choice}.txt | awk '{print $1}')" -lt 10 ]; then if [ ! -f "/etc/refind-menu-generator/${template_choice}.txt" ] || [ "$(ls -l /etc/refind-menu-generator/${template_choice}.txt | awk '{print $5}')" -lt 10 ]; then
template="/etc/refind-menu-generator/menu-template.txt" template="/etc/refind-menu-generator/menu-template.txt"
else else
template="/etc/refind-menu-generator/${template_choice}.txt" template="/etc/refind-menu-generator/${template_choice}.txt"