diff --git a/install.py b/install.py index 91d080e..ca3f281 100644 --- a/install.py +++ b/install.py @@ -82,7 +82,7 @@ class Install(): result = True elif subprocess.call("which yum", shell=True) == 0: subprocess.call("yum check-update", shell=True) - if subprocess.call("yum install mtools PyQt5 pkexec util-linux parted p7zip p7zip-plugins python3-dbus -y", shell=True) == 0: + if subprocess.call("dnf install mtools python3-PyQt5 util-linux parted p7zip p7zip-plugins python3-dbus -y", shell=True) == 0: result = True elif subprocess.call("which apt-get", shell=True) == 0: subprocess.call("apt-get -q update", shell=True) 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"