aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhwspeedy <ns@bigbear.dk>2024-02-17 04:04:40 +0100
committerhwspeedy <ns@bigbear.dk>2024-02-17 04:04:40 +0100
commit410bbe84600c7541f693ef9fec0e841cb62a83cc (patch)
treea92916768882ccd2a2440b6f57d63dbbc76da712
parent82e8687df49058f4d24a05998e3a94c303297191 (diff)
FIX remove old lsb_release - not needed any more
-rw-r--r--modules/computer/os.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/computer/os.c b/modules/computer/os.c
index 27cf227b..508f0fa0 100644
--- a/modules/computer/os.c
+++ b/modules/computer/os.c
@@ -389,7 +389,7 @@ parse_os_release(void)
return (Distro) {};
}
-static Distro
+/*static Distro
parse_lsb_release(void)
{
gchar *pretty_name = NULL;
@@ -421,7 +421,7 @@ parse_lsb_release(void)
g_free(id);
return (Distro) {};
-}
+ }*/
static Distro
detect_distro(void)
@@ -473,9 +473,9 @@ detect_distro(void)
if (distro.distro)
return distro;
- distro = parse_lsb_release();
+ /*distro = parse_lsb_release();
if (distro.distro)
- return distro;
+ return distro;*/
for (i = 0; distro_db[i].file; i++) {
if (!g_file_get_contents(distro_db[i].file, &contents, NULL, NULL))