Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion libenv/sysinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -3815,6 +3815,12 @@ static void SysOSNameHuman(EvalContext *ctx)
"Gentoo", CF_DATA_TYPE_STRING,
"source=agent,derived-from=gentoo");
}
else if (EvalContextClassGet(ctx, NULL, "slackware") != NULL)
{
EvalContextVariablePutSpecial(ctx, SPECIAL_SCOPE_SYS, lval,
"Slackware", CF_DATA_TYPE_STRING,
"source=agent,derived-from=slackware");
}
else
{
EvalContextVariablePutSpecial(ctx, SPECIAL_SCOPE_SYS, lval,
Expand Down Expand Up @@ -3915,7 +3921,7 @@ static void SysOsVersionMajor(EvalContext *ctx)
/*****************************************************************************/


#define SUPPORTED_PLATFORMS "debian|ubuntu|redhat|rhel|centos|fedora|aix|hpux|suse|opensuse|opensuse_leap|sles|solaris|sunos|windows|freebsd|macos"
#define SUPPORTED_PLATFORMS "debian|ubuntu|redhat|rhel|centos|fedora|aix|hpux|suse|opensuse|opensuse_leap|slackware|sles|solaris|sunos|windows|freebsd|macos"

static bool SetOsVersionMinorFromOSRelease(EvalContext *ctx)
{
Expand Down
Loading