aboutsummaryrefslogtreecommitdiff
path: root/arch/linux/common/os.h
diff options
context:
space:
mode:
authorAgney Lopes Roth Ferraz <agney@debian.org>2007-12-09 05:03:40 -0400
committerSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 14:38:45 -0500
commit18e8f4ab62003cb2e251f1540d083114ad489123 (patch)
tree1685ab16402d10233f81c67aa4ad7cf857246d86 /arch/linux/common/os.h
parent401ee3a8ee846998cf0fa3ebadcc81cffe1da3ed (diff)
parentee6c3f9b4cf08a276c971dee66e1acdb32b3dff9 (diff)
Import Debian changes 0.4.2.3-1
hardinfo (0.4.2.3-1) unstable; urgency=low * New upstream release.(Closes: #454947)
Diffstat (limited to 'arch/linux/common/os.h')
-rw-r--r--arch/linux/common/os.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/linux/common/os.h b/arch/linux/common/os.h
index 0fe06709..e4f35e95 100644
--- a/arch/linux/common/os.h
+++ b/arch/linux/common/os.h
@@ -185,6 +185,15 @@ computer_get_os(void)
os->distro = g_strdup(buf);
}
}
+
+ if (g_str_equal(distro_db[i].codename, "ppy")) {
+ gchar *tmp;
+
+ tmp = g_strdup_printf("Puppy Linux %.2f", atof(os->distro) / 100.0);
+ g_free(os->distro);
+ os->distro = tmp;
+ }
+
os->distrocode = g_strdup(distro_db[i].codename);
break;