Commit 0ac83bff authored by longpanda's avatar longpanda
Browse files

support Anarchy Linux 1.3.1 issue #642

parent 40c0504d
......@@ -544,6 +544,10 @@ function uefi_linux_menu_func {
if [ -f (loop)/blackarch/boot/x86_64/archiso.img ]; then
vt_add_replace_file $vtindex "EFI\\archiso\\archiso.img"
fi
elif [ -d (loop)/anarchy ]; then
if [ -f (loop)/anarchy/boot/x86_64/initramfs-linux.img ]; then
vt_add_replace_file $vtindex "anarchy\\boot\\x86_64\\initramfs-linux.img"
fi
elif [ -d (loop)/parabola ]; then
if [ -f (loop)/parabola/boot/x86_64/parabolaiso.img ]; then
vt_add_replace_file $vtindex "EFI\\parabolaiso\\parabolaiso.img"
......@@ -748,6 +752,8 @@ function legacy_linux_menu_func {
if [ -d (loop)/arch/boot/syslinux ]; then
vt_linux_parse_initrd_isolinux (loop)/arch/boot/syslinux/ /arch/
vt_linux_parse_initrd_isolinux (loop)/arch/boot/syslinux/ /arch/boot/syslinux/
elif [ -d (loop)/anarchy/boot/syslinux ]; then
vt_linux_parse_initrd_isolinux (loop)/anarchy/boot/syslinux/ /anarchy/
#manjaro
elif [ -d (loop)/manjaro ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment