From b9fb603f27b47278fc171e13c1564bf2a687c587 Mon Sep 17 00:00:00 2001 From: mbusb Date: Mon, 6 Feb 2017 22:57:58 +0530 Subject: [PATCH] Change in debian installer detection. --- scripts/distro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/distro.py b/scripts/distro.py index 0c788ec..0b8beab 100644 --- a/scripts/distro.py +++ b/scripts/distro.py @@ -60,7 +60,7 @@ def distro(iso_cfg_ext_dir, iso_link): return "kaos" elif re.search(r'boot=live', string, re.I) and isolinux_bin_exist(iso_link): return "debian" - elif re.search(r'debian-installer', string, re.I) and isolinux_bin_exist(iso_link): + elif re.search(r'debian-installer', string, re.I) and not any("casper" in s.lower() for s in iso_file_list): return "debian-install" elif re.search(r'solydx', string, re.I): return "solydx"