From 223f50f1b1eb2e4c0f6f064487494f0d24e0548e Mon Sep 17 00:00:00 2001 From: Saumya <92669518+CaffineAddic@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:29:07 +0530 Subject: [PATCH] Update auto-cpufreq-installer Changed python38 to python3 to solve an install error and also python3-setuptools were causing a conflict using python311-setuptools ended up solving that install. --- auto-cpufreq-installer | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/auto-cpufreq-installer b/auto-cpufreq-installer index 75cca4e3..c41f1bb0 100755 --- a/auto-cpufreq-installer +++ b/auto-cpufreq-installer @@ -96,16 +96,16 @@ function tool_install { detected_distro "Arch Linux based" pacman -S --noconfirm --needed python python-pip python-setuptools base-devel dmidecode gobject-introspection gtk3 gcc - elif [ -f /etc/os-release ];then +elif [ -f /etc/os-release ];then . /etc/os-release case $ID in opensuse-leap) detected_distro "OpenSUSE" - zypper install -y python3 python3-pip python3-setuptools python3-devel gcc dmidecode gobject-introspection-devel python3-cairo-devel gtk3 gtk3-devel + zypper install -y python3 python3-pip python311-setuptools python3-devel gcc dmidecode gobject-introspection-devel python3-cairo-devel gtk3 gtk3-devel ;; opensuse-tumbleweed) detected_distro "OpenSUSE" - zypper install -y python38 python3-pip python3-setuptools python3-devel gcc dmidecode gobject-introspection-devel python3-cairo-devel gtk3 gtk3-devel + zypper install -y python3 python3-pip python311-setuptools python3-devel gcc dmidecode gobject-introspection-devel python3-cairo-devel gtk3 gtk3-devel ;; void) detected_distro "Void Linux"