mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-31 03:32:56 +00:00
trivial: override support for fwupd build by runtime environment variable
This commit is contained in:
parent
e4aeb99296
commit
e35678e07b
@ -2137,6 +2137,9 @@ fu_util_show_unsupported_warn (void)
|
||||
{
|
||||
#ifndef SUPPORTED_BUILD
|
||||
g_autofree gchar *fmt = NULL;
|
||||
|
||||
if (g_getenv ("FWUPD_SUPPORTED") != NULL)
|
||||
return;
|
||||
/* TRANSLATORS: this is a prefix on the console */
|
||||
fmt = fu_util_term_format (_("WARNING:"), FU_UTIL_TERM_COLOR_YELLOW);
|
||||
/* TRANSLATORS: unsupported build of the package */
|
||||
|
Loading…
Reference in New Issue
Block a user