Update
This commit is contained in:
parent
eba441cff9
commit
f0706ac28d
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue