[users] FreeBSD support creating groups
This commit is contained in:
parent
b99b87f787
commit
1fddf723fe
@ -81,7 +81,11 @@ ensureGroupsExistInTarget( const QStringList& wantedGroups, const QStringList& a
|
||||
{
|
||||
if ( !availableGroups.contains( group ) )
|
||||
{
|
||||
#ifdef __FreeBSD__
|
||||
CalamaresUtils::System::instance()->targetEnvCall( { "pw", "groupadd", "-n", group } );
|
||||
#else
|
||||
CalamaresUtils::System::instance()->targetEnvCall( { "groupadd", group } );
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user